diff options
author | Gennadiy Civil <misterg@google.com> | 2018-01-15 16:46:16 -0500 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-01-15 16:46:16 -0500 |
commit | 5f4ce9d88475b5f5b089c10983ea65cdc9cb92d8 (patch) | |
tree | 97630c96f9d91f54c1e233a389289f3230350f0b | |
parent | 26085d7675bc200fbd5d65dd11ad0bac5fcd3d91 (diff) | |
download | googletest-5f4ce9d88475b5f5b089c10983ea65cdc9cb92d8.tar.gz googletest-5f4ce9d88475b5f5b089c10983ea65cdc9cb92d8.tar.bz2 googletest-5f4ce9d88475b5f5b089c10983ea65cdc9cb92d8.zip |
Test files for corresponding changes
-rwxr-xr-x | googletest/test/gtest_xml_output_unittest.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/googletest/test/gtest_xml_output_unittest.py b/googletest/test/gtest_xml_output_unittest.py index 9f92f982..9ba08dfb 100755 --- a/googletest/test/gtest_xml_output_unittest.py +++ b/googletest/test/gtest_xml_output_unittest.py @@ -141,6 +141,19 @@ EXPECTED_FILTERED_TEST_XML = """<?xml version="1.0" encoding="UTF-8"?> </testsuite> </testsuites>""" +EXPECTED_SHARDED_TEST_XML = """<?xml version="1.0" encoding="UTF-8"?> +<testsuites tests="3" failures="0" disabled="0" errors="0" time="*" timestamp="*" name="AllTests" ad_hoc_property="42"> + <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0" errors="0" time="*"> + <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> + </testsuite> + <testsuite name="NoFixtureTest" tests="1" failures="0" disabled="0" errors="0" time="*"> + <testcase name="RecordProperty" status="run" time="*" classname="NoFixtureTest" key="1"/> + </testsuite> + <testsuite name="Single/ValueParamTest" tests="1" failures="0" disabled="0" errors="0" time="*"> + <testcase name="AnotherTestThatHasValueParamAttribute/1" value_param="42" status="run" time="*" classname="Single/ValueParamTest" /> + </testsuite> +</testsuites>""" + EXPECTED_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?> <testsuites tests="0" failures="0" disabled="0" errors="0" time="*" timestamp="*" name="AllTests"> |