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>
31 lines
1.0 KiB
Plaintext
31 lines
1.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" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="passingBenchmark">
|
|
<Incident type="pass" file="" line="0" />
|
|
<BenchmarkResult metric="Events" tag="" value="0" iterations="1" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="skippingBenchmark">
|
|
<Message type="skip" file="tst_benchlibcounting.cpp" line="64">
|
|
<Description><![CDATA[This is a skipping benchmark]]></Description>
|
|
</Message>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="failingBenchmark">
|
|
<Incident type="fail" file="tst_benchlibcounting.cpp" line="71">
|
|
<Description><![CDATA[This is a failing benchmark]]></Description>
|
|
</Incident>
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<TestFunction name="cleanupTestCase">
|
|
<Incident type="pass" file="" line="0" />
|
|
<Duration msecs="0"/>
|
|
</TestFunction>
|
|
<Duration msecs="0"/>
|