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" >
2021-11-29 09:47:55 +00:00
<Environment >
2011-04-27 10:05:43 +00:00
<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>
2021-11-29 09:47:55 +00:00
</Environment>
<TestFunction name= "initTestCase" >
<Incident type= "pass" file= "" line= "0" />
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "compareCharStars" >
<Incident type= "pass" file= "" line= "0" />
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "compareByteArray" >
<Incident type= "xfail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<Description > <![CDATA[Next test should fail]]> </Description>
</Incident>
<Incident type= "xfail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<Description > <![CDATA[Next test should fail]]> </Description>
</Incident>
<Incident type= "xfail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<Description > <![CDATA[Next test should fail]]> </Description>
</Incident>
<Incident type= "fail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (a): "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"...
Expected (b): "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"...]]></Description>
2021-11-29 09:47:55 +00:00
</Incident>
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "failByteArray" >
<Incident type= "fail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<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>
2021-11-29 09:47:55 +00:00
</Incident>
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "failByteArrayNull" >
<Incident type= "fail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (QByteArray("foo")): "foo"
Expected (QByteArray()) : ""]]></Description>
2021-11-29 09:47:55 +00:00
</Incident>
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "failByteArrayEmpty" >
<Incident type= "fail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<Description > < ![CDATA[Compared values are not the same
2014-01-21 00:03:30 +00:00
Actual (QByteArray("")) : ""
Expected (QByteArray("foo")): "foo"]]></Description>
2021-11-29 09:47:55 +00:00
</Incident>
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "failByteArraySingleChars" >
<Incident type= "fail" file= "qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp" line= "0" >
<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>
2021-11-29 09:47:55 +00:00
</Incident>
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<TestFunction name= "cleanupTestCase" >
<Incident type= "pass" file= "" line= "0" />
2016-07-29 11:18:24 +00:00
<Duration msecs= "0" />
2021-11-29 09:47:55 +00:00
</TestFunction>
<Duration msecs= "0" />
2011-04-27 10:05:43 +00:00
</TestCase>