fb16a66b71
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>
34 lines
2.4 KiB
XML
34 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="11" failures="6" 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_VerifyExceptionThrown" time="@TEST_DURATION@"/>
|
|
<testcase name="testCorrectStdTypes" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@"/>
|
|
<testcase name="testCorrectStdExceptions" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@"/>
|
|
<testcase name="testCorrectMyExceptions" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@"/>
|
|
<testcase name="testFailInt" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Expected exception of type double to be thrown but unknown exception caught"/>
|
|
</testcase>
|
|
<testcase name="testFailStdString" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Expected exception of type char* to be thrown but unknown exception caught"/>
|
|
</testcase>
|
|
<testcase name="testFailStdRuntimeError" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Expected exception of type std::runtime_error to be thrown but std::exception caught with message: logic error"/>
|
|
</testcase>
|
|
<testcase name="testFailMyException" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Expected exception of type MyBaseException to be thrown but std::exception caught with message: logic error"/>
|
|
</testcase>
|
|
<testcase name="testFailMyDerivedException" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Expected exception of type std::runtime_error to be thrown but std::exception caught with message: MyDerivedException"/>
|
|
</testcase>
|
|
<testcase name="testFailNoException" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@">
|
|
<failure type="fail" message="Expected exception of type std::exception to be thrown but no exception caught"/>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@"/>
|
|
<system-out/>
|
|
<system-err/>
|
|
</testsuite>
|