File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -612,10 +612,14 @@ private void compareStringToJSONObject(String xmlStr, String expectedStr) {
612612 * @param expectedStr the expected JSON string
613613 */
614614 private void compareReaderToJSONObject (String xmlStr , String expectedStr ) {
615+ /*
616+ * Commenting out this method until the JSON-java code is updated
617+ * to support XML.toJSONObject(reader)
615618 JSONObject expectedJsonObject = new JSONObject(expectedStr);
616619 Reader reader = new StringReader(xmlStr);
617620 JSONObject jsonObject = XML.toJSONObject(reader);
618621 Util.compareActualVsExpectedJsonObjects(jsonObject,expectedJsonObject);
622+ */
619623 }
620624
621625 /**
@@ -626,6 +630,9 @@ private void compareReaderToJSONObject(String xmlStr, String expectedStr) {
626630 * @throws IOException
627631 */
628632 private void compareFileToJSONObject (String xmlStr , String expectedStr ) {
633+ /*
634+ * Commenting out this method until the JSON-java code is updated
635+ * to support XML.toJSONObject(reader)
629636 try {
630637 JSONObject expectedJsonObject = new JSONObject(expectedStr);
631638 File tempFile = testFolder.newFile("fileToJSONObject.xml");
@@ -638,5 +645,6 @@ private void compareFileToJSONObject(String xmlStr, String expectedStr) {
638645 } catch (IOException e) {
639646 assertTrue("file writer error: " +e.getMessage(), false);
640647 }
648+ */
641649 }
642650}
You can’t perform that action at this time.
0 commit comments