af7a3430ed
As defined by https://llg.cubic.org/docs/junit/ Change-Id: Ic7683f3d49c529674f8467d591528d4a65d3add8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
42 lines
1.9 KiB
XML
42 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_Xunit" timestamp="@TEST_START_TIME@" tests="9" failures="3" errors="5" 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" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="testFunc1" result="pass" time="@TEST_DURATION@">
|
|
<!-- type="warn" message="just a QWARN() !" -->
|
|
</testcase>
|
|
<testcase name="testFunc2" result="fail" time="@TEST_DURATION@">
|
|
<!-- type="qdebug" message="a qDebug() call with comment-ending stuff -->" -->
|
|
<failure result="fail" message="Compared values are not the same
|
|
Actual (2): 2
|
|
Expected (3): 3"/>
|
|
</testcase>
|
|
<testcase name="testFunc3" time="@TEST_DURATION@">
|
|
<!-- type="skip" message="skipping this function!" -->
|
|
</testcase>
|
|
<testcase name="testFunc4" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="a forced failure!"/>
|
|
</testcase>
|
|
<testcase name="testFunc5" result="xfail" time="@TEST_DURATION@">
|
|
<!-- type="info" message="this failure is expected" -->
|
|
</testcase>
|
|
<testcase name="testFunc6" result="xfail" time="@TEST_DURATION@">
|
|
<!-- type="info" message="this failure is also expected" -->
|
|
</testcase>
|
|
<testcase name="testFunc7" result="xpass" time="@TEST_DURATION@">
|
|
<failure result="xpass" message="'true' returned TRUE unexpectedly. ()"/>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
|
|
<system-err>
|
|
<![CDATA[just a QWARN() !]]>
|
|
<![CDATA[a qDebug() call with comment-ending stuff -->]]>
|
|
<![CDATA[skipping this function!]]>
|
|
<![CDATA[this failure is expected]]>
|
|
<![CDATA[this failure is also expected]]>
|
|
</system-err>
|
|
</testsuite>
|