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>
43 lines
1.3 KiB
XML
43 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<TestCase name="tst_Skip">
|
|
<Environment>
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
</Environment>
|
|
<TestFunction name="initTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="test">
|
|
<Message type="skip" file="tst_skip.cpp" line="68">
|
|
<Description><![CDATA[skipping all]]></Description>
|
|
</Message>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="emptytest">
|
|
<Message type="skip" file="tst_skip.cpp" line="78">
|
|
<Description><![CDATA[skipping all]]></Description>
|
|
</Message>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="singleSkip">
|
|
<Message type="skip" file="tst_skip.cpp" line="97">
|
|
<DataTag><![CDATA[local 1]]></DataTag>
|
|
<Description><![CDATA[skipping one]]></Description>
|
|
</Message>
|
|
<Message type="qdebug" file="" line="0">
|
|
<DataTag><![CDATA[local 2]]></DataTag>
|
|
<Description><![CDATA[this line should only be reached once (true)]]></Description>
|
|
</Message>
|
|
<Incident type="pass" file="" line="0">
|
|
<DataTag><![CDATA[local 2]]></DataTag>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<Duration msecs="0"/>
|
|
</TestCase>
|