725fc4da44
Also regenerate the expected output for tst_selftests, to match new output. Changed one line source code in tst_seftests for the same purpose. Change-Id: I930ba4bb290568d6f67a8910a781725f01f08bf1 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
243 lines
11 KiB
XML
243 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<TestCase name="tst_Counting">
|
|
<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="testPassPass">
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QCOMPARE(2 + 1, 3)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
</Incident>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QCOMPARE(2 + 1, 3)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testPassSkip">
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QCOMPARE(2 + 1, 3)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
</Incident>
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testPassFail">
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QCOMPARE(2 + 1, 3)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
</Incident>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipPass">
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QCOMPARE(2 + 1, 3)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipSkip">
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Incident>
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipFail">
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testFailPass">
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(true)]]></Description>
|
|
</Message>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QCOMPARE(2 + 1, 3)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testFailSkip">
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[Skipping]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testFailFail">
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 1]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Message type="info" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA[QVERIFY(false)]]></Description>
|
|
</Message>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[row 2]]></DataTag>
|
|
<Description><![CDATA['false' returned FALSE. ()]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testFailInInit">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
</Incident>
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
<Description><![CDATA[Fail in init()]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</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="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[fail]]></DataTag>
|
|
<Description><![CDATA[Fail in cleanup()]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="testSkipInInit">
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[before]]></DataTag>
|
|
</Incident>
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
<Description><![CDATA[Skip in init()]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</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>
|
|
<Incident type="skip" file="qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp" line="0">
|
|
<DataTag><![CDATA[skip]]></DataTag>
|
|
<Description><![CDATA[Skip in cleanup()]]></Description>
|
|
</Incident>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[after]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<Duration msecs="0"/>
|
|
</TestCase>
|