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>
Use new QLibraryInfo::build() in testlib to log build information.
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>
2014-02-26 16:12:45 +00:00
<QtBuild />
2011-04-27 10:05:43 +00:00
<QTestVersion > @INSERT_QT_VERSION_HERE@</QTestVersion>
</Environment>
<TestFunction name= "initTestCase" >
<Incident type= "pass" file= "" line= "0" />
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "compareCharStars" >
<Incident type= "pass" file= "" line= "0" />
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "compareByteArray" >
2014-01-02 13:58:22 +00:00
<Incident type= "xfail" file= "tst_strcmp.cpp" line= "88" >
2011-04-27 10:05:43 +00:00
<Description > <![CDATA[Next test should fail]]> </Description>
</Incident>
2014-01-02 13:58:22 +00:00
<Incident type= "xfail" file= "tst_strcmp.cpp" line= "95" >
2011-04-27 10:05:43 +00:00
<Description > <![CDATA[Next test should fail]]> </Description>
</Incident>
2014-01-02 13:58:22 +00:00
<Incident type= "xfail" file= "tst_strcmp.cpp" line= "102" >
2011-04-27 10:05:43 +00:00
<Description > <![CDATA[Next test should fail]]> </Description>
</Incident>
2014-01-02 13:58:22 +00:00
<Incident type= "fail" file= "tst_strcmp.cpp" line= "109" >
2011-04-27 10:05:43 +00:00
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (a): "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"...
Expected (b): "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"...]]></Description>
2011-04-27 10:05:43 +00:00
</Incident>
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "failByteArray" >
2014-01-02 13:58:22 +00:00
<Incident type= "fail" file= "tst_strcmp.cpp" line= "115" >
2011-04-27 10:05:43 +00:00
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (QByteArray("abc")): "abc"
Expected (QByteArray("cba")): "cba"]]></Description>
2011-04-27 10:05:43 +00:00
</Incident>
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "failByteArrayNull" >
2014-01-02 13:58:22 +00:00
<Incident type= "fail" file= "tst_strcmp.cpp" line= "121" >
2011-04-27 10:05:43 +00:00
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (QByteArray("foo")): "foo"
Expected (QByteArray()) : ""]]></Description>
2011-04-27 10:05:43 +00:00
</Incident>
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "failByteArrayEmpty" >
2014-01-02 13:58:22 +00:00
<Incident type= "fail" file= "tst_strcmp.cpp" line= "126" >
2011-04-27 10:05:43 +00:00
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (QByteArray("")) : ""
Expected (QByteArray("foo")): "foo"]]></Description>
2011-04-27 10:05:43 +00:00
</Incident>
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "failByteArraySingleChars" >
2014-01-02 13:58:22 +00:00
<Incident type= "fail" file= "tst_strcmp.cpp" line= "133" >
2011-04-27 10:05:43 +00:00
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (QByteArray("6")): "6"
Expected (QByteArray("7")): "7"]]></Description>
2011-04-27 10:05:43 +00:00
</Incident>
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
<TestFunction name= "cleanupTestCase" >
<Incident type= "pass" file= "" line= "0" />
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestFunction>
2013-10-24 18:10:37 +00:00
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestCase>