From b47b4905a6139461ec39615317705d90a1599c0c Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 10 May 2010 17:14:48 +0000 Subject: Added more tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@407 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_document.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/test_document.cpp') 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, "") unlink("tests/data/output.xml"); } +TEST_XML(document_save_file_error, "") +{ + CHECK(!doc.save_file("tests/data/unknown/output.xml")); +} + TEST(document_load_buffer) { const pugi::char_t text[] = STR(""); -- cgit v1.2.3