diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-24 20:39:44 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-24 20:39:44 (GMT) |
commit | 2c0fc6d415343b732a4ae39cce1458be1170b9f6 (patch) | |
tree | c5ab10847116c91a6e4bc12a2945b3d77f70fd21 /test/gtest_xml_output_unittest.py | |
parent | 1f8a50e429735ded6b27bfdfb96d0e0aa4d8627b (diff) | |
download | googletest-2c0fc6d415343b732a4ae39cce1458be1170b9f6.zip googletest-2c0fc6d415343b732a4ae39cce1458be1170b9f6.tar.gz googletest-2c0fc6d415343b732a4ae39cce1458be1170b9f6.tar.bz2 |
Cleans up death test implementation (by Vlad Losev); changes the XML format to be closer to junitreport (by Zhanyong Wan).
Diffstat (limited to 'test/gtest_xml_output_unittest.py')
-rwxr-xr-x | test/gtest_xml_output_unittest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gtest_xml_output_unittest.py b/test/gtest_xml_output_unittest.py index 5e0b220..4587c41 100755 --- a/test/gtest_xml_output_unittest.py +++ b/test/gtest_xml_output_unittest.py @@ -48,7 +48,7 @@ GTEST_OUTPUT_FLAG = "--gtest_output" GTEST_DEFAULT_OUTPUT_FILE = "test_detail.xml" EXPECTED_NON_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?> -<testsuite tests="13" failures="2" disabled="2" errors="0" time="*" name="AllTests"> +<testsuites tests="13" failures="2" disabled="2" errors="0" time="*" name="AllTests"> <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0" errors="0" time="*"> <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> </testsuite> @@ -85,12 +85,12 @@ Expected: 2]]></failure> <testcase name="ExternalUtilityThatCallsRecordIntValuedProperty" status="run" time="*" classname="NoFixtureTest" key_for_utility_int="1"/> <testcase name="ExternalUtilityThatCallsRecordStringValuedProperty" status="run" time="*" classname="NoFixtureTest" key_for_utility_string="1"/> </testsuite> -</testsuite>""" +</testsuites>""" EXPECTED_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?> -<testsuite tests="0" failures="0" disabled="0" errors="0" time="*" name="AllTests"> -</testsuite>""" +<testsuites tests="0" failures="0" disabled="0" errors="0" time="*" name="AllTests"> +</testsuites>""" class GTestXMLOutputUnitTest(gtest_xml_test_utils.GTestXMLTestCase): |