From 019588f30792132d9eca5dab11278547b287804e Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Thu, 24 Oct 2013 20:10:37 +0200 Subject: 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 is added to each test function and the test as a whole. Change-Id: Ibc4db066b6acf5fac6c578f5e5ca5ce4b5d8ea8e Reviewed-by: Sergio Ahumada Reviewed-by: Jason McDonald --- tests/auto/testlib/selftests/expected_strcmp.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/auto/testlib/selftests/expected_strcmp.xml') diff --git a/tests/auto/testlib/selftests/expected_strcmp.xml b/tests/auto/testlib/selftests/expected_strcmp.xml index 72ecd4277a..20ffee0611 100644 --- a/tests/auto/testlib/selftests/expected_strcmp.xml +++ b/tests/auto/testlib/selftests/expected_strcmp.xml @@ -6,9 +6,11 @@ + + @@ -25,6 +27,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 ...]]> + @@ -32,6 +35,7 @@ Actual (QByteArray("abc")): 61 62 63 Expected (QByteArray("cba")): 63 62 61]]> + @@ -39,6 +43,7 @@ Actual (QByteArray("foo")): 66 6F 6F Expected (QByteArray()) : ]]> + @@ -46,6 +51,7 @@ Actual (QByteArray("")) : Expected (QByteArray("foo")): 66 6F 6F]]> + @@ -53,8 +59,11 @@ Actual (QByteArray("6")): 36 Expected (QByteArray("7")): 37]]> + + + -- cgit v1.2.3