blob: 38fcfed1090a724134516d29999cd187cf808ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_VerifyExceptionThrown" tests="11" failures="6" errors="0">
<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"/>
<testcase name="testCorrectStdTypes" result="pass"/>
<testcase name="testCorrectStdExceptions" result="pass"/>
<testcase name="testCorrectMyExceptions" result="pass"/>
<testcase name="testFailInt" result="fail">
<failure result="fail" message="Expected exception of type double to be thrown but unknown exception caught"/>
</testcase>
<testcase name="testFailStdString" result="fail">
<failure result="fail" message="Expected exception of type char* to be thrown but unknown exception caught"/>
</testcase>
<testcase name="testFailStdRuntimeError" result="fail">
<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">
<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">
<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">
<failure result="fail" message="Expected exception of type std::exception to be thrown but no exception caught"/>
</testcase>
<testcase name="cleanupTestCase" result="pass"/>
<system-err/>
</testsuite>
|