From d35f6751cf5165911b88a6f889262681506ad709 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 20 Sep 2010 18:14:58 +0000 Subject: tests: Added default ctor test git-svn-id: http://pugixml.googlecode.com/svn/trunk@737 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_parse.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp index 2fcaf6e..3812df5 100644 --- a/tests/test_parse.cpp +++ b/tests/test_parse.cpp @@ -755,3 +755,11 @@ TEST(parse_error_offset) CHECK_OFFSET("", parse_default, status_end_element_mismatch, 8); CHECK_OFFSET("", parse_default, status_end_element_mismatch, 9); } + +TEST(parse_result_default) +{ + xml_parse_result result; + + CHECK(!result); + CHECK(result.status == status_internal_error); +} -- cgit v1.2.3