2011-04-27 10:05:43 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<TestCase name="tst_Cmptest">
|
|
|
|
<Environment>
|
|
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</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">
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="214">
|
2011-04-27 10:05:43 +00:00
|
|
|
<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>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="214">
|
2011-04-27 10:05:43 +00:00
|
|
|
<DataTag><![CDATA[null hash, invalid]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same
|
|
|
|
Actual (actual): QVariant(QVariantHash)
|
|
|
|
Expected (expected): QVariant()]]></Description>
|
|
|
|
</Incident>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="214">
|
2011-04-27 10:05:43 +00:00
|
|
|
<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>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="214">
|
2011-04-27 10:05:43 +00:00
|
|
|
<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>
|
2011-12-13 07:26:36 +00:00
|
|
|
<TestFunction name="compareQStringLists">
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="308">
|
2011-12-13 08:02:46 +00:00
|
|
|
<DataTag><![CDATA[last item different]]></DataTag>
|
2011-12-13 07:26:36 +00:00
|
|
|
<Description><![CDATA[Compared QStringLists differ at index 2.
|
|
|
|
Actual (opA) : 'string3'
|
|
|
|
Expected (opB) : 'DIFFERS']]></Description>
|
|
|
|
</Incident>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="308">
|
2011-12-13 08:02:46 +00:00
|
|
|
<DataTag><![CDATA[second-last item different]]></DataTag>
|
2011-12-13 07:26:36 +00:00
|
|
|
<Description><![CDATA[Compared QStringLists differ at index 2.
|
|
|
|
Actual (opA) : 'string3'
|
|
|
|
Expected (opB) : 'DIFFERS']]></Description>
|
|
|
|
</Incident>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="308">
|
2011-12-13 08:02:46 +00:00
|
|
|
<DataTag><![CDATA[prefix]]></DataTag>
|
2011-12-13 07:26:36 +00:00
|
|
|
<Description><![CDATA[Compared QStringLists have different sizes.
|
|
|
|
Actual (opA) size : '2'
|
|
|
|
Expected (opB) size: '1']]></Description>
|
|
|
|
</Incident>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="308">
|
2011-12-13 08:02:46 +00:00
|
|
|
<DataTag><![CDATA[short list second]]></DataTag>
|
2011-12-13 07:26:36 +00:00
|
|
|
<Description><![CDATA[Compared QStringLists have different sizes.
|
|
|
|
Actual (opA) size : '12'
|
|
|
|
Expected (opB) size: '1']]></Description>
|
|
|
|
</Incident>
|
2011-12-19 10:33:07 +00:00
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="308">
|
2011-12-13 08:02:46 +00:00
|
|
|
<DataTag><![CDATA[short list first]]></DataTag>
|
2011-12-13 07:26:36 +00:00
|
|
|
<Description><![CDATA[Compared QStringLists have different sizes.
|
|
|
|
Actual (opA) size : '1'
|
|
|
|
Expected (opB) size: '12']]></Description>
|
|
|
|
</Incident>
|
|
|
|
</TestFunction>
|
2011-12-19 10:33:07 +00:00
|
|
|
<TestFunction name="compareQPixmaps">
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="333">
|
|
|
|
<DataTag><![CDATA[one null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ.
|
|
|
|
Actual (opA).isNull() : 1
|
|
|
|
Expected (opB).isNull(): 0]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="333">
|
|
|
|
<DataTag><![CDATA[other null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ.
|
|
|
|
Actual (opA).isNull() : 0
|
|
|
|
Expected (opB).isNull(): 1]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="333">
|
|
|
|
<DataTag><![CDATA[different size]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QPixmaps differ in size.
|
|
|
|
Actual (opA) : 11x20
|
|
|
|
Expected (opB): 20x20]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="333">
|
|
|
|
<DataTag><![CDATA[different pixels]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same]]></Description>
|
|
|
|
</Incident>
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareQImages">
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="360">
|
|
|
|
<DataTag><![CDATA[one null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ.
|
|
|
|
Actual (opA).isNull() : 1
|
|
|
|
Expected (opB).isNull(): 0]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="360">
|
|
|
|
<DataTag><![CDATA[other null]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ.
|
|
|
|
Actual (opA).isNull() : 0
|
|
|
|
Expected (opB).isNull(): 1]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="360">
|
|
|
|
<DataTag><![CDATA[different size]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ in size.
|
|
|
|
Actual (opA) : 11x20
|
|
|
|
Expected (opB): 20x20]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="360">
|
|
|
|
<DataTag><![CDATA[different format]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared QImages differ in format.
|
|
|
|
Actual (opA) : 6
|
|
|
|
Expected (opB): 3]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="tst_cmptest.cpp" line="360">
|
|
|
|
<DataTag><![CDATA[different pixels]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared values are not the same]]></Description>
|
|
|
|
</Incident>
|
|
|
|
</TestFunction>
|
2011-04-27 10:05:43 +00:00
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
|
|
|
</TestFunction>
|
|
|
|
</TestCase>
|