diff options
Diffstat (limited to 'tests/test.hpp')
-rw-r--r-- | tests/test.hpp | 5 |
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
|