Class XmlTestUtils

java.lang.Object
org.apache.juneau.XmlTestUtils

public final class XmlTestUtils extends Object
Shared test-support utilities for validating XML output.
  • Method Details

    • checkXmlWhitespace

      public static void checkXmlWhitespace(String out) throws Exception
      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.