diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-10-24 20:10:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-13 07:13:17 +0100 |
commit | 019588f30792132d9eca5dab11278547b287804e (patch) | |
tree | 87ef85ac726dac5235e13f45e28a811611555035 /tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml | |
parent | 19be46414ae68c619b94f2fdebd21192898d65fd (diff) |
Testlib: Add test duration to xml output
[ChangeLog][QtTest] Added test duration to xml output.
When running tests with xml output a new tag of the form
<duration msecs="123"/> is added to each test function and the test as a
whole.
Change-Id: Ibc4db066b6acf5fac6c578f5e5ca5ce4b5d8ea8e
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Jason McDonald <macadder1@gmail.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml b/tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml index 3118eb628e..fb8f61503e 100644 --- a/tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml +++ b/tests/auto/testlib/selftests/expected_verifyexceptionthrown.lightxml @@ -4,46 +4,58 @@ </Environment> <TestFunction name="initTestCase"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testCorrectStdTypes"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testCorrectStdExceptions"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testCorrectMyExceptions"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testFailInt"> <Incident type="fail" file="tst_verifyexceptionthrown.cpp" line="128"> <Description><![CDATA[Expected exception of type double to be thrown but unknown exception caught]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testFailStdString"> <Incident type="fail" file="tst_verifyexceptionthrown.cpp" line="133"> <Description><![CDATA[Expected exception of type char* to be thrown but unknown exception caught]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testFailStdRuntimeError"> <Incident type="fail" file="tst_verifyexceptionthrown.cpp" line="138"> <Description><![CDATA[Expected exception of type std::runtime_error to be thrown but std::exception caught with message: logic error]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testFailMyException"> <Incident type="fail" file="tst_verifyexceptionthrown.cpp" line="143"> <Description><![CDATA[Expected exception of type MyBaseException to be thrown but std::exception caught with message: logic error]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testFailMyDerivedException"> <Incident type="fail" file="tst_verifyexceptionthrown.cpp" line="148"> <Description><![CDATA[Expected exception of type std::runtime_error to be thrown but std::exception caught with message: MyDerivedException]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="testFailNoException"> <Incident type="fail" file="tst_verifyexceptionthrown.cpp" line="153"> <Description><![CDATA[Expected exception of type std::exception to be thrown but no exception caught]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="cleanupTestCase"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> +<Duration msecs="0"/> |