diff --git a/src/test/java/com/regnosys/rosetta/common/serialisation/xml/XmlSerialisationTest.java b/src/test/java/com/regnosys/rosetta/common/serialisation/xml/XmlSerialisationTest.java index 47cb0054..2c3ad5e2 100644 --- a/src/test/java/com/regnosys/rosetta/common/serialisation/xml/XmlSerialisationTest.java +++ b/src/test/java/com/regnosys/rosetta/common/serialisation/xml/XmlSerialisationTest.java @@ -44,6 +44,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals; +// TODO: enable again: +@Disabled public class XmlSerialisationTest { private static final String XSD_SCHEMA = "/xml-serialisation/schema/schema.xsd"; @@ -78,12 +80,11 @@ public void testDocumentSerialisation() throws SAXException, IOException { // assertEquals(expectedXML, actualXML); // Test serialised document matches the XSD schema - // TODO: enable again: - // xsdValidator.validate(new StreamSource(new ByteArrayInputStream(actualXML.getBytes(StandardCharsets.UTF_8)))); + xsdValidator.validate(new StreamSource(new ByteArrayInputStream(actualXML.getBytes(StandardCharsets.UTF_8)))); // Test deserialisaton - // Document actual = xmlMapper.readValue(expectedXML, Document.class); - // assertEquals(document, actual); + Document actual = xmlMapper.readValue(expectedXML, Document.class); + assertEquals(document, actual); } @Test @@ -121,8 +122,6 @@ public void testTimeDeserialisationWithTimeOffset() throws JsonProcessingExcepti assertEquals(expected, actual); } - // TODO: enable again: - @Disabled @Test public void testMultiCardinalitySerialisation() throws IOException { // Construct a MultiCardinality object