diff options
author | Mario Voorsluys <mvoorsluys@lely.com> | 2020-03-26 18:16:43 (GMT) |
---|---|---|
committer | Mario Voorsluys <mvoorsluys@lely.com> | 2020-03-26 18:17:20 (GMT) |
commit | c447b2166b6f72af037cad2113f5bd489f52db53 (patch) | |
tree | eb63341fd2c2b494189ee021501bc1bb4e22409d /googletest/test/gtest_xml_outfiles_test.py | |
parent | 23dadb8472d9a124394d9d77a659d565e5ea2d93 (diff) | |
download | googletest-c447b2166b6f72af037cad2113f5bd489f52db53.zip googletest-c447b2166b6f72af037cad2113f5bd489f52db53.tar.gz googletest-c447b2166b6f72af037cad2113f5bd489f52db53.tar.bz2 |
Fixed xml unit-tests and added extra tests
The extra tests check that the xml output is correct when a failure occurs before skipping, and that the right skip message is added to the file.
The json file had to be fixed because it's the same executable.
Diffstat (limited to 'googletest/test/gtest_xml_outfiles_test.py')
-rwxr-xr-x | googletest/test/gtest_xml_outfiles_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/test/gtest_xml_outfiles_test.py b/googletest/test/gtest_xml_outfiles_test.py index e093f6f..ac66feb 100755 --- a/googletest/test/gtest_xml_outfiles_test.py +++ b/googletest/test/gtest_xml_outfiles_test.py @@ -42,7 +42,7 @@ GTEST_OUTPUT_2_TEST = "gtest_xml_outfile2_test_" EXPECTED_XML_1 = """<?xml version="1.0" encoding="UTF-8"?> <testsuites tests="1" failures="0" disabled="0" errors="0" time="*" timestamp="*" name="AllTests"> - <testsuite name="PropertyOne" tests="1" failures="0" disabled="0" errors="0" time="*" timestamp="*"> + <testsuite name="PropertyOne" tests="1" failures="0" skipped="0" disabled="0" errors="0" time="*" timestamp="*"> <testcase name="TestSomeProperties" status="run" result="completed" time="*" timestamp="*" classname="PropertyOne"> <properties> <property name="SetUpProp" value="1"/> @@ -56,7 +56,7 @@ EXPECTED_XML_1 = """<?xml version="1.0" encoding="UTF-8"?> EXPECTED_XML_2 = """<?xml version="1.0" encoding="UTF-8"?> <testsuites tests="1" failures="0" disabled="0" errors="0" time="*" timestamp="*" name="AllTests"> - <testsuite name="PropertyTwo" tests="1" failures="0" disabled="0" errors="0" time="*" timestamp="*"> + <testsuite name="PropertyTwo" tests="1" failures="0" skipped="0" disabled="0" errors="0" time="*" timestamp="*"> <testcase name="TestSomeProperties" status="run" result="completed" time="*" timestamp="*" classname="PropertyTwo"> <properties> <property name="SetUpProp" value="2"/> |