27 lines
1.4 KiB
Plaintext
27 lines
1.4 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<testsuite errors="0" failures="4" tests="5" name="tst_Cmptest">
|
||
|
<properties>
|
||
|
<property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
|
||
|
<property value="@INSERT_QT_VERSION_HERE@" 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-null user type" message="Compared values are not the same
|
||
|
Actual (actual): QVariant(PhonyClass,<value not representable as string>)
|
||
|
Expected (expected): QVariant(PhonyClass,<value not representable as string>)" result="fail"/>
|
||
|
</testcase>
|
||
|
<testcase result="pass" name="cleanupTestCase"/>
|
||
|
<system-err/>
|
||
|
</testsuite>
|