123eb803ef
These tests don't have their own source code but rather reuse the counting selftest with additional command-line options. Note that currently the -v1 switch only changes the plain text output, and the expected xml output is identical to that of the counting test. This may change in the future however. This commit also restores a couple of lists to alphabetical order, where the findtestdata selftest was not sorted into the list correctly. Change-Id: Ie38e255f8029157b34162b3864b5fa66e137d74a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
199 lines
9.0 KiB
Plaintext
199 lines
9.0 KiB
Plaintext
<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="testPassPass">
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="111">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
</Incident>
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="111">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testPassSkip">
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="111">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
</Incident>
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="117">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Message>
|
|
</TestFunction>
|
|
<TestFunction name="testPassFail">
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="111">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
</Incident>
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipPass">
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="117">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Message>
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="111">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipSkip">
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="117">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Message>
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="117">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Message>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipFail">
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="117">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Message>
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testFailPass">
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="111">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testFailSkip">
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="117">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Message>
|
|
</TestFunction>
|
|
<TestFunction name="testFailFail">
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="114">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testFailInInit">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="233">
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
<Description><![CDATA[Fail in init()]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testFailInCleanup">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
</Incident>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
<Description><![CDATA[This test function should execute and then QFAIL in cleanup() ]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="241">
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
<Description><![CDATA[Fail in cleanup()]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipInInit">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
</Incident>
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="235">
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
<Description><![CDATA[Skip in init()]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipInCleanup">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
</Incident>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
<Description><![CDATA[This test function should execute and then QSKIP in cleanup() ]]></Description>
|
|
</Message>
|
|
<Message type="skip" file="/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="243">
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
<Description><![CDATA[Skip in cleanup()]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|