summaryrefslogtreecommitdiff
path: root/tests/test_document.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-10 13:31:38 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-10 13:31:38 +0000
commit9441757ef64c941fc0ddb24096123e0c590ace86 (patch)
tree808c80c9fab041d1fdd5104f6d1c72f92fb74ccb /tests/test_document.cpp
parent14bda69d0d1830e94a4b534e63e0a97a447a186e (diff)
Internal iterator constructors are now private, added empty document test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@403 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r--tests/test_document.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index 34d1ad1..32890e2 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -15,6 +15,12 @@
#include <string>
+TEST(document_create_empty)
+{
+ pugi::xml_document doc;
+ CHECK_NODE(doc, STR(""));
+}
+
TEST(document_create)
{
pugi::xml_document doc;