Class XMLDiffHelper
java.lang.Object
com.peterphi.std.guice.xmltesting.XMLDiffHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.custommonkey.xmlunit.Diff
doXmlDiff
(Document expected, Document actual, Set<String> attributesToRemove, Set<String> elementsToRemove) static void
filterDocument
(Document expected, Document actual, Set<String> attributesToRemove, Set<String> elementsToRemove) static String
Pretty-print some XMLstatic void
xmldiff
(String expectedResource, Document actual, Set<String> attributesToRemove, Set<String> elementsToRemove) static void
xmldiff
(Document expected, Document actual, Set<String> attributesToRemove, Set<String> elementsToRemove)
-
Constructor Details
-
XMLDiffHelper
public XMLDiffHelper()
-
-
Method Details
-
xmldiff
-
xmldiff
-
doXmlDiff
-
filterDocument
-
pretty
Pretty-print some XML- Parameters:
doc
-- Returns:
-