Class TestInternals
java.lang.Object
org.libxmq.imp.TestInternals
Internal tests for the quote parsing utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRuns the internal tests.static voidTests moving a tree nested deeper than a recursive walk could handle into another document, the moved nodes (also the attributes) must get the new document.static voidTests removing surrounding quotes.static voidTests quote trimming.
-
Constructor Details
-
TestInternals
public TestInternals()Creates the test runner.
-
-
Method Details
-
main
Runs the internal tests.- Parameters:
args- Command line arguments (unused).
-
test_deep_dom
public static void test_deep_dom()Tests moving a tree nested deeper than a recursive walk could handle into another document, the moved nodes (also the attributes) must get the new document. -
test_quote_removal
public static void test_quote_removal()Tests removing surrounding quotes. -
test_quotes
public static void test_quotes()Tests quote trimming.
-