~autopilot/xpathselect/fix-parser-grammar

« back to all changes in this revision

Viewing changes to test/test_parser.cpp

  • Committer: Christopher Lee
  • Date: 2013-04-24 03:48:14 UTC
  • Revision ID: chris.lee@canonical.com-20130424034814-w744d8gbgyswx3r7
Added failing tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
                            std::pair<std::string, bool>("//root", true),
333
333
                            std::pair<std::string, bool>("/root//node1/node2", true),
334
334
                            std::pair<std::string, bool>("/root[p=1]//node1[p=2]/node3", true),
 
335
                            std::pair<std::string, bool>("/Root//*[p=1]", true),
335
336
                            // queries that must not parse correctly:
336
337
                            std::pair<std::string, bool>("//", false),
337
338
                            std::pair<std::string, bool>("/root//", false),