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_strcmp.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_strcmp.lightxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_strcmp.lightxml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_strcmp.lightxml b/tests/auto/testlib/selftests/expected_strcmp.lightxml index 6ad7e7b997..f0d266d400 100644 --- a/tests/auto/testlib/selftests/expected_strcmp.lightxml +++ b/tests/auto/testlib/selftests/expected_strcmp.lightxml @@ -4,9 +4,11 @@ </Environment> <TestFunction name="initTestCase"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareCharStars"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> <TestFunction name="compareByteArray"> <Incident type="xfail" file="tst_strcmp.cpp" line="88"> @@ -23,6 +25,7 @@ Actual (a): 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 ... Expected (b): 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 ...]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="failByteArray"> <Incident type="fail" file="tst_strcmp.cpp" line="115"> @@ -30,6 +33,7 @@ Actual (QByteArray("abc")): 61 62 63 Expected (QByteArray("cba")): 63 62 61]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="failByteArrayNull"> <Incident type="fail" file="tst_strcmp.cpp" line="121"> @@ -37,6 +41,7 @@ Actual (QByteArray("foo")): 66 6F 6F Expected (QByteArray()) : ]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="failByteArrayEmpty"> <Incident type="fail" file="tst_strcmp.cpp" line="126"> @@ -44,6 +49,7 @@ Actual (QByteArray("")) : Expected (QByteArray("foo")): 66 6F 6F]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="failByteArraySingleChars"> <Incident type="fail" file="tst_strcmp.cpp" line="133"> @@ -51,7 +57,10 @@ Actual (QByteArray("6")): 36 Expected (QByteArray("7")): 37]]></Description> </Incident> +<Duration msecs="0"/> </TestFunction> <TestFunction name="cleanupTestCase"> <Incident type="pass" file="" line="0" /> +<Duration msecs="0"/> </TestFunction> +<Duration msecs="0"/> |