qt5base-lts/tests/auto/testlib/selftests/expected_datetime.junitxml
Tor Arne Vestbø fb16a66b71 testlib: Report skipped tests in JUnit reporter as <skipped> elements
The Apache Ant and Surefire Maven specs document a <skipped> element that
can be used to signify skipped test, with a corresponding total skipped
test attribute on the <testsuite>.

The element includes an optional message attribute, documented in the
Surefire spec, and in the Ant source code, but not yet documented in
the reverse-engineered Ant spec:

 https://github.com/windyroad/JUnit-Schema/pull/11

Pick-to: 6.2
Task-number: QTBUG-95424
Change-Id: Ib6417a41b9c328836f4017e6ebf7f7e9cd91288d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-08-05 03:58:50 +02:00

30 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_DateTime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" 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_DateTime" time="@TEST_DURATION@"/>
<testcase name="dateTime" classname="tst_DateTime" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same
Actual (local): 2000/05/03 04:03:04.000[UTC+00:02]
Expected (utc) : 2000/05/03 04:03:04.000[UTC]"/>
</testcase>
<testcase name="qurl(empty urls)" classname="tst_DateTime" time="@TEST_DURATION@"/>
<testcase name="qurl(empty rhs)" classname="tst_DateTime" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same
Actual (operandA): http://example.com
Expected (operandB): Invalid URL: "/>
</testcase>
<testcase name="qurl(empty lhs)" classname="tst_DateTime" time="@TEST_DURATION@">
<failure type="fail" message="Compared values are not the same
Actual (operandA): Invalid URL:
Expected (operandB): http://example.com"/>
</testcase>
<testcase name="qurl(same urls)" classname="tst_DateTime" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_DateTime" time="@TEST_DURATION@"/>
<system-out/>
<system-err/>
</testsuite>