9e4a215a25
This produces: ********* Start testing of tst_QtJson ********* Config: Using QtTest library 5.3.0, Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build) PASS : tst_QtJson::initTestCase() <?xml version="1.0" encoding="UTF-8"?> <TestCase name="tst_QtJson"> <Environment> <QtVersion>5.3.0</QtVersion> <QtBuild>Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)</QtBuild> <QTestVersion>5.3.0</QTestVersion> </Environment> <?xml version="1.0" encoding="UTF-8" ?> <testsuite errors="1" failures="1" tests="42" name="tst_QtJson"> <properties> <property value="5.3.0" name="QTestVersion"/> <property value="5.3.0" name="QtVersion"/> <property value="Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)" name="QtBuild"/> </properties> <Environment> <QtVersion>5.3.0</QtVersion> <QtBuild>Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build)</QtBuild> <QTestVersion>5.3.0</QTestVersion> </Environment> [ChangeLog][QtTest] Tests now output build information. Change-Id: I0ab473371575f2b807db725256805b8bffea3454 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
71 lines
2.7 KiB
XML
71 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<TestCase name="tst_StrCmp">
|
|
<Environment>
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
<QtBuild/>
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
</Environment>
|
|
<TestFunction name="initTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareCharStars">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="compareByteArray">
|
|
<Incident type="xfail" file="tst_strcmp.cpp" line="88">
|
|
<Description><![CDATA[Next test should fail]]></Description>
|
|
</Incident>
|
|
<Incident type="xfail" file="tst_strcmp.cpp" line="95">
|
|
<Description><![CDATA[Next test should fail]]></Description>
|
|
</Incident>
|
|
<Incident type="xfail" file="tst_strcmp.cpp" line="102">
|
|
<Description><![CDATA[Next test should fail]]></Description>
|
|
</Incident>
|
|
<Incident type="fail" file="tst_strcmp.cpp" line="109">
|
|
<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>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="failByteArray">
|
|
<Incident type="fail" file="tst_strcmp.cpp" line="115">
|
|
<Description><![CDATA[Compared values are not the same
|
|
Actual (QByteArray("abc")): 61 62 63
|
|
Expected (QByteArray("cba")): 63 62 61]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="failByteArrayNull">
|
|
<Incident type="fail" file="tst_strcmp.cpp" line="121">
|
|
<Description><![CDATA[Compared values are not the same
|
|
Actual (QByteArray("foo")): 66 6F 6F
|
|
Expected (QByteArray()) : ]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="failByteArrayEmpty">
|
|
<Incident type="fail" file="tst_strcmp.cpp" line="126">
|
|
<Description><![CDATA[Compared values are not the same
|
|
Actual (QByteArray("")) :
|
|
Expected (QByteArray("foo")): 66 6F 6F]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="failByteArraySingleChars">
|
|
<Incident type="fail" file="tst_strcmp.cpp" line="133">
|
|
<Description><![CDATA[Compared values are not the same
|
|
Actual (QByteArray("6")): 36
|
|
Expected (QByteArray("7")): 37]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<Duration msecs="0"/>
|
|
</TestCase>
|