diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-10 17:14:48 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-10 17:14:48 +0000 |
commit | b47b4905a6139461ec39615317705d90a1599c0c (patch) | |
tree | d420672d733b11cb6c8d56522150e8a3a7a97154 /tests/test_document.cpp | |
parent | 8afeb9d71acebb59411d3adaa46744569d8f40e7 (diff) |
Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@407 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r-- | tests/test_document.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 32890e2..3b9c135 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -217,6 +217,11 @@ TEST_XML(document_save_file, "<node/>") unlink("tests/data/output.xml");
}
+TEST_XML(document_save_file_error, "<node/>")
+{
+ CHECK(!doc.save_file("tests/data/unknown/output.xml"));
+}
+
TEST(document_load_buffer)
{
const pugi::char_t text[] = STR("<?xml?><node/>");
|