summaryrefslogtreecommitdiff
path: root/tests/test_dom_traverse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-23 03:25:03 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-23 03:25:03 +0000
commit0237fb466e36bdfc82c5e9dab1791f546f7e2979 (patch)
treea6897826c630597dd3f68e3f76a6e4eca116c148 /tests/test_dom_traverse.cpp
parent43fac19d81a843789e276d31b032b5511accb68c (diff)
tests: Added tests for read-only xml_text operations
git-svn-id: http://pugixml.googlecode.com/svn/trunk@875 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_traverse.cpp')
-rw-r--r--tests/test_dom_traverse.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp
index f6a2495..15d6656 100644
--- a/tests/test_dom_traverse.cpp
+++ b/tests/test_dom_traverse.cpp
@@ -30,14 +30,6 @@ template <typename I> static I move_iter(I base, int n)
}
#endif
-template <typename T> static void generic_empty_test(const T& obj)
-{
- T null;
-
- CHECK(null.empty());
- CHECK(!obj.empty());
-}
-
TEST_XML(dom_attr_bool_ops, "<node attr='1'/>")
{
generic_bool_ops_test(doc.child(STR("node")).attribute(STR("attr")));