summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_xml_outfiles_test.py
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-03-07 20:57:55 (GMT)
committerGennadiy Civil <misterg@google.com>2018-03-07 20:57:55 (GMT)
commite89190066608137b35dca32e28428126c04366dc (patch)
tree4b5fd1eb23a1b9d9cc30dd70ea304492574f1367 /googletest/test/gtest_xml_outfiles_test.py
parent703b4a85a21e394252560a89cc856b384b48c286 (diff)
downloadgoogletest-e89190066608137b35dca32e28428126c04366dc.zip
googletest-e89190066608137b35dca32e28428126c04366dc.tar.gz
googletest-e89190066608137b35dca32e28428126c04366dc.tar.bz2
Merging, XML testsrefs/pull/1497/head
Diffstat (limited to 'googletest/test/gtest_xml_outfiles_test.py')
-rwxr-xr-xgoogletest/test/gtest_xml_outfiles_test.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/googletest/test/gtest_xml_outfiles_test.py b/googletest/test/gtest_xml_outfiles_test.py
index 24c6ee6..c7d3413 100755
--- a/googletest/test/gtest_xml_outfiles_test.py
+++ b/googletest/test/gtest_xml_outfiles_test.py
@@ -43,7 +43,13 @@ 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="*">
- <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyOne" SetUpProp="1" TestSomeProperty="1" TearDownProp="1" />
+ <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyOne">
+ <properties>
+ <property name="SetUpProp" value="1"/>
+ <property name="TestSomeProperty" value="1"/>
+ <property name="TearDownProp" value="1"/>
+ </properties>
+ </testcase>
</testsuite>
</testsuites>
"""
@@ -51,7 +57,13 @@ 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="*">
- <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyTwo" SetUpProp="2" TestSomeProperty="2" TearDownProp="2" />
+ <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyTwo">
+ <properties>
+ <property name="SetUpProp" value="2"/>
+ <property name="TestSomeProperty" value="2"/>
+ <property name="TearDownProp" value="2"/>
+ </properties>
+ </testcase>
</testsuite>
</testsuites>
"""