Package org.apache.juneau
Class XmlTestUtils
java.lang.Object
org.apache.juneau.XmlTestUtils
Shared test-support utilities for validating XML output.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckXmlWhitespace(String out) Validates that the whitespace is correct in the specified XML.
-
Method Details
-
checkXmlWhitespace
Validates that the whitespace is correct in the specified XML.- Parameters:
out- The XML to validate.- Throws:
Exception- If the whitespace/indentation in the XML is incorrect.
-