summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_strcmp.xml
diff options
context:
space:
mode:
authorDimitrios Apostolou <jimis@qt.io>2021-11-29 10:47:55 +0100
committerDimitrios Apostolou <jimis@qt.io>2021-12-17 07:03:26 +0100
commit725fc4da44d61472b99a625ba25c045140adb6fa (patch)
tree7e3e03b25f5a2397c8059016a0a94af6d5bb0169 /tests/auto/testlib/selftests/expected_strcmp.xml
parentdf0351836e3c008bff4326e0e52e764399d328b0 (diff)
Properly indent qtestlib's XML output
Also regenerate the expected output for tst_selftests, to match new output. Changed one line source code in tst_seftests for the same purpose. Change-Id: I930ba4bb290568d6f67a8910a781725f01f08bf1 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_strcmp.xml')
-rw-r--r--tests/auto/testlib/selftests/expected_strcmp.xml92
1 files changed, 46 insertions, 46 deletions
diff --git a/tests/auto/testlib/selftests/expected_strcmp.xml b/tests/auto/testlib/selftests/expected_strcmp.xml
index 7848eea61f..ad3e2e1729 100644
--- a/tests/auto/testlib/selftests/expected_strcmp.xml
+++ b/tests/auto/testlib/selftests/expected_strcmp.xml
@@ -1,70 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestCase name="tst_StrCmp">
-<Environment>
+ <Environment>
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
<QtBuild/>
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
-</Environment>
-<TestFunction name="initTestCase">
-<Incident type="pass" file="" line="0" />
+ </Environment>
+ <TestFunction name="initTestCase">
+ <Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="compareCharStars">
-<Incident type="pass" file="" line="0" />
+ </TestFunction>
+ <TestFunction name="compareCharStars">
+ <Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="compareByteArray">
-<Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Next test should fail]]></Description>
-</Incident>
-<Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Next test should fail]]></Description>
-</Incident>
-<Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Next test should fail]]></Description>
-</Incident>
-<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Compared values are not the same
+ </TestFunction>
+ <TestFunction name="compareByteArray">
+ <Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Next test should fail]]></Description>
+ </Incident>
+ <Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Next test should fail]]></Description>
+ </Incident>
+ <Incident type="xfail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Next test should fail]]></Description>
+ </Incident>
+ <Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Compared values are not the same
Actual (a): "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"...
Expected (b): "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"...]]></Description>
-</Incident>
+ </Incident>
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="failByteArray">
-<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Compared values are not the same
+ </TestFunction>
+ <TestFunction name="failByteArray">
+ <Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Compared values are not the same
Actual (QByteArray("abc")): "abc"
Expected (QByteArray("cba")): "cba"]]></Description>
-</Incident>
+ </Incident>
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="failByteArrayNull">
-<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Compared values are not the same
+ </TestFunction>
+ <TestFunction name="failByteArrayNull">
+ <Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Compared values are not the same
Actual (QByteArray("foo")): "foo"
Expected (QByteArray()) : ""]]></Description>
-</Incident>
+ </Incident>
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="failByteArrayEmpty">
-<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Compared values are not the same
+ </TestFunction>
+ <TestFunction name="failByteArrayEmpty">
+ <Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Compared values are not the same
Actual (QByteArray("")) : ""
Expected (QByteArray("foo")): "foo"]]></Description>
-</Incident>
+ </Incident>
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="failByteArraySingleChars">
-<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
- <Description><![CDATA[Compared values are not the same
+ </TestFunction>
+ <TestFunction name="failByteArraySingleChars">
+ <Incident type="fail" file="qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="0">
+ <Description><![CDATA[Compared values are not the same
Actual (QByteArray("6")): "6"
Expected (QByteArray("7")): "7"]]></Description>
-</Incident>
+ </Incident>
<Duration msecs="0"/>
-</TestFunction>
-<TestFunction name="cleanupTestCase">
-<Incident type="pass" file="" line="0" />
+ </TestFunction>
+ <TestFunction name="cleanupTestCase">
+ <Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
-</TestFunction>
-<Duration msecs="0"/>
+ </TestFunction>
+ <Duration msecs="0"/>
</TestCase>