Пример #1
0
  public void testQuotes() throws Exception {
    String rsl;
    RslNode node;

    rsl =
        "&(arg1=\"foo\"\"bar\")(arg2='foo''bar')(arg3='')(arg4=\"\")"
            + "(executable=\"/bin/echo\")(arguments='mis')";

    node = RSLParser.parse(rsl);

    testQuotesSub(node);

    rsl = node.toString();
    node = RSLParser.parse(rsl);

    testQuotesSub(node);
  }