019588f307
[ChangeLog][QtTest] Added test duration to xml output. When running tests with xml output a new tag of the form <duration msecs="123"/> is added to each test function and the test as a whole. Change-Id: Ibc4db066b6acf5fac6c578f5e5ca5ce4b5d8ea8e Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Jason McDonald <macadder1@gmail.com>
193 lines
7.1 KiB
Plaintext
193 lines
7.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" />
|
|
<Duration msecs="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>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
</Incident>
|
|
<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>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
</Incident>
|
|
<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>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
</Incident>
|
|
<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">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="skip">
|
|
<Message type="skip" file="tst_globaldata.cpp" line="129">
|
|
<DataTag><![CDATA[1]]></DataTag>
|
|
<Description><![CDATA[skipping]]></Description>
|
|
</Message>
|
|
<Duration msecs="0"/>
|
|
</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="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>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[init skipLocal local 2]]></Description>
|
|
</Message>
|
|
<Message type="skip" file="tst_globaldata.cpp" line="149">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[skipping]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
<Description><![CDATA[cleanup skipLocal local 2]]></Description>
|
|
</Message>
|
|
<Duration msecs="0"/>
|
|
</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>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[1:local 1]]></DataTag>
|
|
</Incident>
|
|
<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>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[1:local 2]]></DataTag>
|
|
</Incident>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[2:local 1]]></DataTag>
|
|
<Description><![CDATA[init skipSingle local 1]]></Description>
|
|
</Message>
|
|
<Message type="skip" file="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">
|
|
<DataTag><![CDATA[2:local 2]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Message type="qdebug" file="" line="0">
|
|
<Description><![CDATA[cleanupTestCase cleanupTestCase (null)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<Duration msecs="0"/>
|