diff options
Diffstat (limited to 'tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml b/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml index dd730909da..970057fe5a 100644 --- a/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml +++ b/tests/auto/testlib/selftests/expected_verifyexceptionthrown.junitxml @@ -1,5 +1,5 @@ <?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@"> +<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="13" failures="7" errors="0" skipped="0" time="@TEST_DURATION@"> <properties> <property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/> <property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/> @@ -9,23 +9,27 @@ <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="testCorrectNoException" 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"/> + <failure type="fail" message="Expected an exception of type double to be thrown, but caught unknown exception"/> </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"/> + <failure type="fail" message="Expected an exception of type char* to be thrown, but caught unknown exception"/> </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"/> + <failure type="fail" message="Expected an exception of type std::runtime_error to be thrown, but caught std::exception 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"/> + <failure type="fail" message="Expected an exception of type MyBaseException to be thrown, but caught std::exception 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"/> + <failure type="fail" message="Expected an exception of type std::runtime_error to be thrown, but caught std::exception 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="testFailNoException2" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@"> + <failure type="fail" message="Expected no exception to be thrown, but caught std::exception with message This line doesn't throw"/> + </testcase> <testcase name="cleanupTestCase" classname="tst_VerifyExceptionThrown" time="@TEST_DURATION@"/> </testsuite> |