diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-24 20:39:44 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-24 20:39:44 +0000 |
commit | 2c0fc6d415343b732a4ae39cce1458be1170b9f6 (patch) | |
tree | c5ab10847116c91a6e4bc12a2945b3d77f70fd21 /test/gtest_xml_outfiles_test.py | |
parent | 1f8a50e429735ded6b27bfdfb96d0e0aa4d8627b (diff) | |
download | googletest-2c0fc6d415343b732a4ae39cce1458be1170b9f6.tar.gz googletest-2c0fc6d415343b732a4ae39cce1458be1170b9f6.tar.bz2 googletest-2c0fc6d415343b732a4ae39cce1458be1170b9f6.zip |
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_outfiles_test.py')
-rwxr-xr-x | test/gtest_xml_outfiles_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gtest_xml_outfiles_test.py b/test/gtest_xml_outfiles_test.py index 4ebc15ef..3e91f6de 100755 --- a/test/gtest_xml_outfiles_test.py +++ b/test/gtest_xml_outfiles_test.py @@ -48,19 +48,19 @@ GTEST_OUTPUT_1_TEST = "gtest_xml_outfile1_test_" GTEST_OUTPUT_2_TEST = "gtest_xml_outfile2_test_" EXPECTED_XML_1 = """<?xml version="1.0" encoding="UTF-8"?> -<testsuite tests="1" failures="0" disabled="0" errors="0" time="*" name="AllTests"> +<testsuites tests="1" failures="0" disabled="0" errors="0" time="*" name="AllTests"> <testsuite name="PropertyOne" tests="1" failures="0" disabled="0" errors="0" time="*"> <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyOne" SetUpProp="1" TestSomeProperty="1" TearDownProp="1" /> </testsuite> -</testsuite> +</testsuites> """ EXPECTED_XML_2 = """<?xml version="1.0" encoding="UTF-8"?> -<testsuite tests="1" failures="0" disabled="0" errors="0" time="*" name="AllTests"> +<testsuites tests="1" failures="0" disabled="0" errors="0" time="*" name="AllTests"> <testsuite name="PropertyTwo" tests="1" failures="0" disabled="0" errors="0" time="*"> <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyTwo" SetUpProp="2" TestSomeProperty="2" TearDownProp="2" /> </testsuite> -</testsuite> +</testsuites> """ |