summaryrefslogtreecommitdiff
path: root/tests/test_deprecated.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-22 08:04:02 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-22 08:04:02 +0000
commitf889bf88c09ecfe7f68deab6db53fa979110824c (patch)
tree1c440427db4ed69bcf41e4ccdd2ae52916dc4cbf /tests/test_deprecated.cpp
parent546a0f756104fc9ae89207750c6a9eb566f5ea63 (diff)
tests: Removed invalid document order test, improved document order coverage by adding tests that are not subject to document order optimization
git-svn-id: http://pugixml.googlecode.com/svn/trunk@615 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_deprecated.cpp')
-rw-r--r--tests/test_deprecated.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_deprecated.cpp b/tests/test_deprecated.cpp
index 4d97b2a..f28dd55 100644
--- a/tests/test_deprecated.cpp
+++ b/tests/test_deprecated.cpp
@@ -192,12 +192,3 @@ TEST_XML(dom_node_wildcard_star, "<node cd='1'/>")
CHECK(node.attribute_w(STR("*?*c*")).as_int() == 0);
CHECK(node.attribute_w(STR("*?*d*")).as_int() == 1);
}
-
-// document order
-TEST_XML(document_order_coverage, "<node id='1'/>")
-{
- doc.precompute_document_order();
-
- CHECK(doc.child(STR("node")).document_order() == 0);
- CHECK(doc.child(STR("node")).attribute(STR("id")).document_order() == 0);
-}