af7a3430ed
As defined by https://llg.cubic.org/docs/junit/ Change-Id: Ic7683f3d49c529674f8467d591528d4a65d3add8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
33 lines
2.1 KiB
XML
33 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" tests="11" failures="6" errors="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" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="testCorrectStdTypes" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="testCorrectStdExceptions" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="testCorrectMyExceptions" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="testFailInt" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Expected exception of type double to be thrown but unknown exception caught"/>
|
|
</testcase>
|
|
<testcase name="testFailStdString" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Expected exception of type char* to be thrown but unknown exception caught"/>
|
|
</testcase>
|
|
<testcase name="testFailStdRuntimeError" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Expected exception of type std::runtime_error to be thrown but std::exception caught with message: logic error"/>
|
|
</testcase>
|
|
<testcase name="testFailMyException" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Expected exception of type MyBaseException to be thrown but std::exception caught with message: logic error"/>
|
|
</testcase>
|
|
<testcase name="testFailMyDerivedException" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Expected exception of type std::runtime_error to be thrown but std::exception caught with message: MyDerivedException"/>
|
|
</testcase>
|
|
<testcase name="testFailNoException" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Expected exception of type std::exception to be thrown but no exception caught"/>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
|
|
<system-err/>
|
|
</testsuite>
|