57368c7037
Make the test use qDebug instead of printf, so that the reference test output is the same regardless of whether the log goes to the console or a file. Also rename the test class, as it was evidently cut-n-pasted from the subtest selftest without being renamed. Change-Id: I8df1f0989f2e8c33c1f829ba8110fd740ff70f63 Reviewed-on: http://codereview.qt-project.org/5184 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
155 lines
6.1 KiB
Plaintext
155 lines
6.1 KiB
Plaintext
<Environment>
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
</Environment>
|
|
<TestFunction name="initTestCase">
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[initTestCase initTestCase (null) ]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|
|
<TestFunction name="testGlobal">
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[init testGlobal local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[global: false ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[local: false ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[cleanup testGlobal local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[init testGlobal local 2 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[global: false ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[local: true ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[cleanup testGlobal local 2 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[init testGlobal local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[global: true ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[local: false ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[cleanup testGlobal local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[init testGlobal local 2 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[global: true ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[local: true ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[cleanup testGlobal local 2 ]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|
|
<TestFunction name="skip">
|
|
<Message type="skip" file="/home/dev/qt5/qtbase/tests/auto/testlib/selftests/globaldata/tst_globaldata.cpp" line="129">
|
|
<DataTag><![CDATA[1]]></DataTag>
|
|
<Description><![CDATA[skipping]]></Description>
|
|
</Message>
|
|
</TestFunction>
|
|
<TestFunction name="skipLocal">
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[init skipLocal local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="skip" file="/home/dev/qt5/qtbase/tests/auto/testlib/selftests/globaldata/tst_globaldata.cpp" line="149">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[skipping]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[cleanup skipLocal local 1 ]]></Description>
|
|
</Message>
|
|
</TestFunction>
|
|
<TestFunction name="skipSingle">
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[init skipSingle local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[global: false local: false ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
<Description><![CDATA[cleanup skipSingle local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[init skipSingle local 2 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[global: false local: true ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[cleanup skipSingle local 2 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[init skipSingle local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="skip" file="/home/dev/qt5/qtbase/tests/auto/testlib/selftests/globaldata/tst_globaldata.cpp" line="143">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[skipping]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[cleanup skipSingle local 1 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[init skipSingle local 2 ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[global: true local: true ]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
<Description><![CDATA[cleanup skipSingle local 2 ]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[cleanupTestCase cleanupTestCase (null) ]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0" />
|
|
</TestFunction>
|