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_cmptest.xml | |
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_cmptest.xml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_cmptest.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_cmptest.xml b/tests/auto/testlib/selftests/expected_cmptest.xml index 8a9f64d877..08a40fb466 100644 --- a/tests/auto/testlib/selftests/expected_cmptest.xml +++ b/tests/auto/testlib/selftests/expected_cmptest.xml @@ -6,12 +6,15 @@ </Environment> <TestFunction name="initTestCase"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compare_boolfuncs"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compare_pointerfuncs"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compare_tostring"> <Incident type="fail" file="tst_cmptest.cpp" line="219"> @@ -41,6 +44,7 @@ Actual (actual) : QVariant(PhonyClass,<value not representable as string>) Expected (expected): QVariant(PhonyClass,<value not representable as string>)]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareQStringLists"> <Incident type="pass" file="" line="0"> @@ -79,6 +83,7 @@ Actual (opA) size: '1' Expected (opB) size: '12']]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareQListInt"> <Incident type="fail" file="tst_cmptest.cpp" line="320"> @@ -86,6 +91,7 @@ Actual (int1): '3' Expected (int2): '4']]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareQListDouble"> <Incident type="fail" file="tst_cmptest.cpp" line="327"> @@ -93,6 +99,7 @@ Actual (double1): '1.5' Expected (double2): '1']]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareQPixmaps"> <Incident type="pass" file="" line="0"> @@ -123,6 +130,7 @@ <DataTag><![CDATA[different pixels]]></DataTag> <Description><![CDATA[Compared values are not the same]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareQImages"> <Incident type="pass" file="" line="0"> @@ -159,8 +167,11 @@ <DataTag><![CDATA[different pixels]]></DataTag> <Description><![CDATA[Compared values are not the same]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="cleanupTestCase"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> +<Duration msecs="0"/> </TestCase> |