2011-04-27 10:05:43 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<TestCase name="tst_StrCmp">
|
|
|
|
<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="compareCharStars">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="compareByteArray">
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="xfail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="88">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Next test should fail]]></Description>
|
|
|
|
</Incident>
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="xfail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="95">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Next test should fail]]></Description>
|
|
|
|
</Incident>
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="xfail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="102">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Next test should fail]]></Description>
|
|
|
|
</Incident>
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="109">
|
2011-04-27 10:05:43 +00:00
|
|
|
<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">
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="115">
|
2011-04-27 10:05:43 +00:00
|
|
|
<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">
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="121">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Compared values are not the same
|
|
|
|
Actual (QByteArray("foo")): 66 6F 6F
|
|
|
|
Expected (QByteArray()): ]]></Description>
|
|
|
|
</Incident>
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="failByteArrayEmpty">
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="126">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Compared values are not the same
|
|
|
|
Actual (QByteArray("")):
|
|
|
|
Expected (QByteArray("foo")): 66 6F 6F]]></Description>
|
|
|
|
</Incident>
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="failByteArraySingleChars">
|
2011-10-18 07:11:12 +00:00
|
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line="133">
|
2011-04-27 10:05:43 +00:00
|
|
|
<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>
|
|
|
|
</TestCase>
|