mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
*** empty log message ***
This commit is contained in:
parent
f693ee28fa
commit
ecd8ae7edc
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,7 @@ public:
|
|||
assertFalse(compileMatch("/para|text()")->evaluateAsBool(doc.getDocumentElement()));
|
||||
assertFalse(compileMatch("/para|@*")->evaluateAsBool(doc.getDocumentElement()));
|
||||
assertFalse(compileMatch("/para|poopsicle|comment()")->evaluateAsBool(doc.getDocumentElement()));
|
||||
assertFalse(compileMatch("/")->evaluateAsBool(doc.getDocumentElement()));
|
||||
} // testDocElementNotMatch
|
||||
|
||||
void testAttributeMatch()
|
||||
|
@ -166,6 +167,9 @@ public:
|
|||
assertFalse(compileMatch("node()")->evaluateAsBool(a1));
|
||||
assertFalse(compileMatch("*")->evaluateAsBool(a1));
|
||||
assertFalse(compileMatch("pod/para/@*")->evaluateAsBool(a1));
|
||||
assertFalse(compileMatch("/")->evaluateAsBool(a1));
|
||||
assertFalse(compileMatch("/")->evaluateAsBool(a2));
|
||||
assertFalse(compileMatch("/|comment()")->evaluateAsBool(a2));
|
||||
|
||||
assertTrue(compileMatch("@id|@name")->evaluateAsBool(a1));
|
||||
assertTrue(compileMatch("@id|@name")->evaluateAsBool(a2));
|
||||
|
|
Loading…
Reference in a new issue