summaryrefslogtreecommitdiff
path: root/tests/auto/selftests/expected_cmptest.xml
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-04-16 13:28:19 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-04-19 17:31:22 +1000
commite1a8f3afc834ff3a148ca330ba5338f60e64e276 (patch)
tree882e1eb2dfc41b99b806a3af9cb6d0ae88d83903 /tests/auto/selftests/expected_cmptest.xml
parent1f12c4824942949f3c030f7b2afd44cfac215417 (diff)
downloadqt4-tools-e1a8f3afc834ff3a148ca330ba5338f60e64e276.tar.gz
Extend testlib selftest to cover all loggers, not just plain text.
Diffstat (limited to 'tests/auto/selftests/expected_cmptest.xml')
-rw-r--r--tests/auto/selftests/expected_cmptest.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/auto/selftests/expected_cmptest.xml b/tests/auto/selftests/expected_cmptest.xml
new file mode 100644
index 0000000000..4dd1bc542b
--- /dev/null
+++ b/tests/auto/selftests/expected_cmptest.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<TestCase name="tst_Cmptest">
+<Environment>
+ <QtVersion>4.6.3</QtVersion>
+ <QTestVersion>4.6.3</QTestVersion>
+</Environment>
+<TestFunction name="initTestCase">
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="compare_boolfuncs">
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="compare_pointerfuncs">
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+<TestFunction name="compare_tostring">
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/cmptest/tst_cmptest.cpp" line="122">
+ <DataTag><![CDATA[int, string]]></DataTag>
+ <Description><![CDATA[Compared values are not the same
+ Actual (actual): QVariant(int,123)
+ Expected (expected): QVariant(QString,hi)]]></Description>
+</Incident>
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/cmptest/tst_cmptest.cpp" line="122">
+ <DataTag><![CDATA[null hash, invalid]]></DataTag>
+ <Description><![CDATA[Compared values are not the same
+ Actual (actual): QVariant(QVariantHash)
+ Expected (expected): QVariant()]]></Description>
+</Incident>
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/cmptest/tst_cmptest.cpp" line="122">
+ <DataTag><![CDATA[string, null user type]]></DataTag>
+ <Description><![CDATA[Compared values are not the same
+ Actual (actual): QVariant(QString,A simple string)
+ Expected (expected): QVariant(PhonyClass)]]></Description>
+</Incident>
+<Incident type="fail" file="/local/user_builds/qt/4.6/tests/auto/selftests/cmptest/tst_cmptest.cpp" line="122">
+ <DataTag><![CDATA[both non-null user type]]></DataTag>
+ <Description><![CDATA[Compared values are not the same
+ Actual (actual): QVariant(PhonyClass,<value not representable as string>)
+ Expected (expected): QVariant(PhonyClass,<value not representable as string>)]]></Description>
+</Incident>
+</TestFunction>
+<TestFunction name="cleanupTestCase">
+<Incident type="pass" file="" line="0" />
+</TestFunction>
+</TestCase>