2012-05-02 12:49:31 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-04-27 10:05:43 +00:00
|
|
|
<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
|
2012-03-08 01:30:10 +00:00
|
|
|
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 ...
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (QByteArray("abc")): 61 62 63
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (QByteArray("foo")): 66 6F 6F
|
2013-07-01 22:58:40 +00:00
|
|
|
Expected (QByteArray()) : ]]></Description>
|
2011-04-27 10:05:43 +00:00
|
|
|
</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
|
2013-07-01 22:58:40 +00:00
|
|
|
Actual (QByteArray("")) :
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (QByteArray("6")): 36
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (QByteArray("7")): 37]]></Description>
|
|
|
|
</Incident>
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
|
|
|
</TestFunction>
|
|
|
|
</TestCase>
|