Class TestInternals

java.lang.Object
org.libxmq.imp.TestInternals

public class TestInternals extends Object
Internal tests for the quote parsing utilities.
  • Constructor Details

    • TestInternals

      public TestInternals()
      Creates the test runner.
  • Method Details

    • main

      public static void main(String[] args)
      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.