From 08e1db11482889e44bfc5b28a987c489b15d6d08 Mon Sep 17 00:00:00 2001 From: Aravinda Baliga B Date: Mon, 1 Jul 2024 17:54:18 +0200 Subject: [PATCH 1/2] EDG-33: convert the certificationInfo field from string to object. accordingly fix associated modules and examples. --- core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java b/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java index 6d2800e..89b3dd0 100644 --- a/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java +++ b/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java @@ -63,6 +63,7 @@ void jsonToXmlAggregationEventTest() throws Exception { final EventHandler handler = new EventHandler(null, new XmlEPCISEventCollector(byteArrayOutputStream)); new JsonToXmlConverter().convert(inputStream, handler); + System.out.println(byteArrayOutputStream); assertTrue(byteArrayOutputStream.toString().length() > 0); } From 9cb97233ef17201da6fd96c867b026cdd5edb62e Mon Sep 17 00:00:00 2001 From: Aravinda Baliga B Date: Mon, 1 Jul 2024 17:58:01 +0200 Subject: [PATCH 2/2] EDG-33: remove system.out from test. --- core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java b/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java index 89b3dd0..6d2800e 100644 --- a/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java +++ b/core/src/test/java/com/io/openepcis/convert/JsonToXmlTest.java @@ -63,7 +63,6 @@ void jsonToXmlAggregationEventTest() throws Exception { final EventHandler handler = new EventHandler(null, new XmlEPCISEventCollector(byteArrayOutputStream)); new JsonToXmlConverter().convert(inputStream, handler); - System.out.println(byteArrayOutputStream); assertTrue(byteArrayOutputStream.toString().length() > 0); }