qt5base-lts/tests/auto/testlib/selftests/expected_strcmp.junitxml
Tor Arne Vestbø 4632be1b4d testlib: Don't write redundant log message information in JUnit reporter
The separation between <system-out> and <system-err> is sufficient, and
we can't expect consumers to interpret our custom comment format.

The type of the text node has been renamed to more accurately identify
its purpose.

Pick-to: 6.2
Change-Id: I63c8ff17529fc087e1b695698350a6711eb5e68d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-08-10 18:06:36 +02:00

47 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_StrCmp" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="8" failures="5" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtBuild" value=""/>
</properties>
<testcase name="initTestCase" classname="tst_StrCmp" time="@TEST_DURATION@"/>
<testcase name="compareCharStars" classname="tst_StrCmp" time="@TEST_DURATION@"/>
<testcase name="compareByteArray" classname="tst_StrCmp" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (a): "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"...
Expected (b): "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"...]]>
</failure>
<system-out>
<![CDATA[Next test should fail]]>
<![CDATA[Next test should fail]]>
<![CDATA[Next test should fail]]>
</system-out>
</testcase>
<testcase name="failByteArray" classname="tst_StrCmp" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (QByteArray("abc")): "abc"
Expected (QByteArray("cba")): "cba"]]>
</failure>
</testcase>
<testcase name="failByteArrayNull" classname="tst_StrCmp" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (QByteArray("foo")): "foo"
Expected (QByteArray()) : ""]]>
</failure>
</testcase>
<testcase name="failByteArrayEmpty" classname="tst_StrCmp" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (QByteArray("")) : ""
Expected (QByteArray("foo")): "foo"]]>
</failure>
</testcase>
<testcase name="failByteArraySingleChars" classname="tst_StrCmp" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same">
<![CDATA[ Actual (QByteArray("6")): "6"
Expected (QByteArray("7")): "7"]]>
</failure>
</testcase>
<testcase name="cleanupTestCase" classname="tst_StrCmp" time="@TEST_DURATION@"/>
</testsuite>