Skip to content

Commit

Permalink
Disabled test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCockx committed Jun 20, 2024
1 parent 23c3625 commit 45b687e
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 45b687e

Please sign in to comment.