summaryrefslogtreecommitdiffstats
path: root/tests/auto/selftests/expected_cmptest.xunitxml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/selftests/expected_cmptest.xunitxml')
-rw-r--r--tests/auto/selftests/expected_cmptest.xunitxml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/selftests/expected_cmptest.xunitxml b/tests/auto/selftests/expected_cmptest.xunitxml
new file mode 100644
index 0000000..dc77fd2
--- /dev/null
+++ b/tests/auto/selftests/expected_cmptest.xunitxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite errors="0" failures="4" tests="5" name="tst_Cmptest">
+ <properties>
+ <property value="4.6.3" name="QTestVersion"/>
+ <property value="4.6.3" name="QtVersion"/>
+ </properties>
+ <testcase result="pass" name="initTestCase"/>
+ <testcase result="pass" name="compare_boolfuncs"/>
+ <testcase result="pass" name="compare_pointerfuncs"/>
+ <testcase result="fail" name="compare_tostring">
+ <failure tag="int, string" message="Compared values are not the same
+ Actual (actual): QVariant(int,123)
+ Expected (expected): QVariant(QString,hi)" result="fail"/>
+ <failure tag="null hash, invalid" message="Compared values are not the same
+ Actual (actual): QVariant(QVariantHash)
+ Expected (expected): QVariant()" result="fail"/>
+ <failure tag="string, null user type" message="Compared values are not the same
+ Actual (actual): QVariant(QString,A simple string)
+ Expected (expected): QVariant(PhonyClass)" result="fail"/>
+ <failure tag="both non&#x002D;null user type" message="Compared values are not the same
+ Actual (actual): QVariant(PhonyClass,&lt;value not representable as string&gt;)
+ Expected (expected): QVariant(PhonyClass,&lt;value not representable as string&gt;)" result="fail"/>
+ </testcase>
+ <testcase result="pass" name="cleanupTestCase"/>
+ <system-err/>
+</testsuite>