2013-10-11 10:05:01 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-07-21 10:10:32 +00:00
<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" tests="11" failures="6" errors="0" time="@TEST_DURATION@">
2013-10-11 10:05:01 +00:00
<properties>
2020-07-21 23:38:42 +00:00
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtBuild" value=""/>
2013-10-11 10:05:01 +00:00
</properties>
2020-07-21 10:10:32 +00:00
<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@">
2020-07-21 23:38:42 +00:00
<failure result="fail" message="Expected exception of type double to be thrown but unknown exception caught"/>
2013-10-11 10:05:01 +00:00
</testcase>
2020-07-21 10:10:32 +00:00
<testcase name="testFailStdString" result="fail" time="@TEST_DURATION@">
2020-07-21 23:38:42 +00:00
<failure result="fail" message="Expected exception of type char* to be thrown but unknown exception caught"/>
2013-10-11 10:05:01 +00:00
</testcase>
2020-07-21 10:10:32 +00:00
<testcase name="testFailStdRuntimeError" result="fail" time="@TEST_DURATION@">
2020-07-21 23:38:42 +00:00
<failure result="fail" message="Expected exception of type std::runtime_error to be thrown but std::exception caught with message: logic error"/>
2013-10-11 10:05:01 +00:00
</testcase>
2020-07-21 10:10:32 +00:00
<testcase name="testFailMyException" result="fail" time="@TEST_DURATION@">
2020-07-21 23:38:42 +00:00
<failure result="fail" message="Expected exception of type MyBaseException to be thrown but std::exception caught with message: logic error"/>
2013-10-11 10:05:01 +00:00
</testcase>
2020-07-21 10:10:32 +00:00
<testcase name="testFailMyDerivedException" result="fail" time="@TEST_DURATION@">
2020-07-21 23:38:42 +00:00
<failure result="fail" message="Expected exception of type std::runtime_error to be thrown but std::exception caught with message: MyDerivedException"/>
2013-10-11 10:05:01 +00:00
</testcase>
2020-07-21 10:10:32 +00:00
<testcase name="testFailNoException" result="fail" time="@TEST_DURATION@">
2020-07-21 23:38:42 +00:00
<failure result="fail" message="Expected exception of type std::exception to be thrown but no exception caught"/>
2013-10-11 10:05:01 +00:00
</testcase>
2020-07-21 10:10:32 +00:00
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
2013-10-11 10:05:01 +00:00
<system-err/>
</testsuite>