summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_xml_outfiles_test.py
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-03-22 18:36:04 (GMT)
committerGennadiy Civil <misterg@google.com>2019-03-28 21:56:02 (GMT)
commit5b752b1947bbb4df571848a1afad00f9b06f30e0 (patch)
tree2ed5d3eaead4dfd832a712925d1d32d57b19517a /googletest/test/gtest_xml_outfiles_test.py
parent1f64659fb2ad0884d463a8797521e14dc264d54e (diff)
downloadgoogletest-5b752b1947bbb4df571848a1afad00f9b06f30e0.zip
googletest-5b752b1947bbb4df571848a1afad00f9b06f30e0.tar.gz
googletest-5b752b1947bbb4df571848a1afad00f9b06f30e0.tar.bz2
Googletest export
Update XML and JSON output to be consistent with the standard. PiperOrigin-RevId: 239833242
Diffstat (limited to 'googletest/test/gtest_xml_outfiles_test.py')
-rwxr-xr-xgoogletest/test/gtest_xml_outfiles_test.py4
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 3c715a3..eaca1a7 100755
--- a/googletest/test/gtest_xml_outfiles_test.py
+++ b/googletest/test/gtest_xml_outfiles_test.py
@@ -43,7 +43,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="*">
- <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyOne">
+ <testcase name="TestSomeProperties" status="run" result="completed" time="*" classname="PropertyOne">
<properties>
<property name="SetUpProp" value="1"/>
<property name="TestSomeProperty" value="1"/>
@@ -57,7 +57,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="*">
- <testcase name="TestSomeProperties" status="run" time="*" classname="PropertyTwo">
+ <testcase name="TestSomeProperties" status="run" result="completed" time="*" classname="PropertyTwo">
<properties>
<property name="SetUpProp" value="2"/>
<property name="TestSomeProperty" value="2"/>