comparison API/Factories/Xml/WarFoundryXmlRaceFactoryTest.cs @ 237:833f72be715a default tip

* Remove rogue print statements
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Nov 2012 20:58:48 +0000
parents 7c21ca1482cb
children
comparison
equal deleted inserted replaced
236:be409428bbea 237:833f72be715a
419 SingleXmlObjectLoader.LoadRaceFromXML(WarFoundryXmlFactory.GetFactory(), raceFile); 419 SingleXmlObjectLoader.LoadRaceFromXML(WarFoundryXmlFactory.GetFactory(), raceFile);
420 Assert.Fail("Excepted exception not thrown"); 420 Assert.Fail("Excepted exception not thrown");
421 } 421 }
422 catch (InvalidFileException ex) 422 catch (InvalidFileException ex)
423 { 423 {
424 Console.WriteLine(ex.Message);
425 Exception innerException = ex.InnerException; 424 Exception innerException = ex.InnerException;
426 Assert.That(innerException, Is.InstanceOfType(typeof(XmlSchemaValidationException))); 425 Assert.That(innerException, Is.InstanceOfType(typeof(XmlSchemaValidationException)));
427 } 426 }
428 } 427 }
429 428