Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison API/Factories/Xml/WarFoundryXmlFactoryUtilTest.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 | b2517bb113d0 |
children |
comparison
equal
deleted
inserted
replaced
236:be409428bbea | 237:833f72be715a |
---|---|
53 SingleXmlObjectLoader.CreateDocumentElementFromFile(filePath); | 53 SingleXmlObjectLoader.CreateDocumentElementFromFile(filePath); |
54 Assert.Fail("Excepted exception not thrown"); | 54 Assert.Fail("Excepted exception not thrown"); |
55 } | 55 } |
56 catch (InvalidFileException ex) | 56 catch (InvalidFileException ex) |
57 { | 57 { |
58 Console.WriteLine(ex.Message); | |
59 Exception innerException = ex.InnerException; | 58 Exception innerException = ex.InnerException; |
60 Assert.That(innerException, Is.InstanceOfType(typeof(XmlSchemaValidationException))); | 59 Assert.That(innerException, Is.InstanceOfType(typeof(XmlSchemaValidationException))); |
61 } | 60 } |
62 } | 61 } |
63 } | 62 } |