summaryrefslogtreecommitdiff
path: root/test/XPath/tests/simplebase
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2015-03-08 16:46:04 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2015-03-08 16:46:04 +0100
commit342658a132dddc6f2d72f83070e55a545a5c1608 (patch)
tree57b231d47d4804a119336be7c6ac1d0696b483a7 /test/XPath/tests/simplebase
parentba58f23c60862f2158b457f4d30031761bf4dde1 (diff)
downloadlibxml2-342658a132dddc6f2d72f83070e55a545a5c1608.tar.gz
Add a couple of XPath tests
Diffstat (limited to 'test/XPath/tests/simplebase')
-rw-r--r--test/XPath/tests/simplebase5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/XPath/tests/simplebase b/test/XPath/tests/simplebase
index 9a1476e6..8b2c7d15 100644
--- a/test/XPath/tests/simplebase
+++ b/test/XPath/tests/simplebase
@@ -5,6 +5,11 @@
/child::EXAMPLE/child::head/child::title
/child::EXAMPLE/child::head/child::title/child::text()
/child::EXAMPLE/child::head/node()
+/child::EXAMPLE/attribute::prop1/self::node()
+/child::EXAMPLE/attribute::prop1/self::*
/child::EXAMPLE/attribute::prop1/descendant-or-self::node()
+/child::EXAMPLE/attribute::prop1/descendant-or-self::*
+/child::EXAMPLE/attribute::prop1/ancestor-or-self::node()
+/child::EXAMPLE/attribute::prop1/ancestor-or-self::*
/descendant::title
/descendant::p/ancestor::chapter