summaryrefslogtreecommitdiff
path: root/tests/test.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-08 14:36:12 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-08 14:36:12 +0000
commitc5d97527366f9c39e84e3a4089ff74311b14c489 (patch)
treee4d581e6c67422eedec029142c65183e0a602b90 /tests/test.hpp
parent6783bf0c322e01ce23669730e6b35b3bafdf85b1 (diff)
tests: Full public API coverage (except sort, which needs extensive coverage anyway)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@224 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test.hpp')
-rw-r--r--tests/test.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test.hpp b/tests/test.hpp
index 3071a47..0d54e6d 100644
--- a/tests/test.hpp
+++ b/tests/test.hpp
@@ -132,6 +132,11 @@ struct xpath_node_set_tester
result = q.evaluate_node_set(node);
}
+ xpath_node_set_tester(const pugi::xpath_node_set& set, const char* message): last(0), message(message)
+ {
+ result = set;
+ }
+
~xpath_node_set_tester()
{
// check that we processed everything