From 06e9af0ecb746bef47d215996103aa52084fadda Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 29 Aug 2010 15:51:35 +0000 Subject: tests: Improved document order comparison coverage git-svn-id: http://pugixml.googlecode.com/svn/trunk@696 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_variables.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_xpath_variables.cpp b/tests/test_xpath_variables.cpp index 001b1b5..785a504 100644 --- a/tests/test_xpath_variables.cpp +++ b/tests/test_xpath_variables.cpp @@ -237,13 +237,16 @@ TEST(xpath_variables_evaluate_node_set_fail) #endif } -TEST_XML(xpath_variables_multiple_documents, "") +TEST(xpath_variables_multiple_documents) { + xml_document doc; + doc.append_child().set_name(STR("node")); + xml_document doc1; - CHECK(doc1.load(STR(""))); + doc1.append_child().set_name(STR("node")); xml_document doc2; - CHECK(doc2.load(STR(""))); + doc2.append_child().set_name(STR("node")); xpath_variable_set set; set.set(STR("var1"), doc1.select_nodes(STR("*"))); -- cgit v1.2.3