summaryrefslogtreecommitdiffstats
path: root/tests/auto/selftests/expected_strcmp.lightxml
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-04-16 03:28:19 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-04-19 07:31:22 (GMT)
commite1a8f3afc834ff3a148ca330ba5338f60e64e276 (patch)
tree882e1eb2dfc41b99b806a3af9cb6d0ae88d83903 /tests/auto/selftests/expected_strcmp.lightxml
parent1f12c4824942949f3c030f7b2afd44cfac215417 (diff)
downloadQt-e1a8f3afc834ff3a148ca330ba5338f60e64e276.zip
Qt-e1a8f3afc834ff3a148ca330ba5338f60e64e276.tar.gz
Qt-e1a8f3afc834ff3a148ca330ba5338f60e64e276.tar.bz2
Extend testlib selftest to cover all loggers, not just plain text.
Diffstat (limited to 'tests/auto/selftests/expected_strcmp.lightxml')
-rw-r--r--tests/auto/selftests/expected_strcmp.lightxml51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/auto/selftests/expected_strcmp.lightxml b/tests/auto/selftests/expected_strcmp.lightxml
new file mode 100644
index 0000000..96e5e2d
--- /dev/null
+++ b/tests/auto/selftests/expected_strcmp.lightxml
@@ -0,0 +1,51 @@
+<Environment>
+ <QtVersion>4.6.3</QtVersion>
+ <QTestVersion>4.6.3</QTestVersion>
+</Environment>
+<TestFunction name="initTestCase">
+<Incident type="pass" file="" line="0"/>
+</TestFunction>
+<TestFunction name="compareCharStars">
+<Incident type="pass" file="" line="0"/>
+</TestFunction>
+<TestFunction name="compareByteArray">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/strcmp/tst_strcmp.cpp" line="88">
+ <Description><![CDATA[Next test should fail]]></Description>
+ <Description><![CDATA[Next test should fail]]></Description>
+ <Description><![CDATA[Next test should fail]]></Description>
+ <Description><![CDATA[Compared values are not the same
+ 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>
+</TestFunction>
+<TestFunction name="failByteArray">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/strcmp/tst_strcmp.cpp" line="115">
+ <Description><![CDATA[Compared values are not the same
+ Actual (QByteArray("abc")): 61 62 63
+ Expected (QByteArray("cba")): 63 62 61]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="failByteArrayNull">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/strcmp/tst_strcmp.cpp" line="121">
+ <Description><![CDATA[Compared values are not the same
+ Actual (QByteArray("foo")): 66 6F 6F
+ Expected (QByteArray()): ]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="failByteArrayEmpty">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/strcmp/tst_strcmp.cpp" line="126">
+ <Description><![CDATA[Compared values are not the same
+ Actual (QByteArray("")):
+ Expected (QByteArray("foo")): 66 6F 6F]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="failByteArraySingleChars">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/strcmp/tst_strcmp.cpp" line="133">
+ <Description><![CDATA[Compared values are not the same
+ Actual (QByteArray("6")): 36
+ Expected (QByteArray("7")): 37]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="cleanupTestCase">
+<Incident type="pass" file="" line="0"/>
+</TestFunction>