Create report.xml files for remaining json tests

This commit is contained in:
Joël Stemmer 2022-04-01 00:46:41 +01:00
parent d966e01f2a
commit 1b70a28601
2 changed files with 31 additions and 0 deletions

23
testdata/110-report.xml vendored Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="4" errors="1" failures="2" skipped="1">
<testsuite name="package/name/benchfail" tests="4" failures="2" errors="1" hostname="hostname" skipped="1" time="0.002" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase name="BenchmarkError" classname="package/name/benchfail" time="0.000000000">
<failure message="Failed"></failure>
</testcase>
<testcase name="BenchmarkFatal" classname="package/name/benchfail" time="0.000000000">
<failure message="Failed"></failure>
</testcase>
<testcase name="BenchmarkSkip" classname="package/name/benchfail" time="0.000000000">
<skipped message="Skipped"></skipped>
</testcase>
<testcase name="Failure" classname="package/name/benchfail" time="0.000">
<error message="Runtime error"><![CDATA[goos: linux
goarch: amd64
pkg: package/name/benchfail
exit status 1]]></error>
</testcase>
</testsuite>
</testsuites>

8
testdata/111-report.xml vendored Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="package/name/empty" tests="0" failures="0" errors="0" hostname="hostname" time="0.001" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
</testsuite>
</testsuites>