qt5base-lts/tests/auto/testlib/selftests/expected_benchlibeventcounter.lightxml
Frederik Gladhorn 019588f307 Testlib: Add test duration to xml output
[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>
2014-01-13 07:13:17 +01:00

45 lines
1.6 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="events">
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[0]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="0" value="0" iterations="1" />
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[1]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="1" value="1" iterations="1" />
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[10]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="10" value="10" iterations="1" />
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[100]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="100" value="100" iterations="1" />
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[500]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="500" value="500" iterations="1" />
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[5000]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="5000" value="5000" iterations="1" />
<Incident type="pass" file="" line="0">
<DataTag><![CDATA[100000]]></DataTag>
</Incident>
<BenchmarkResult metric="Events" tag="100000" value="100000" iterations="1" />
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="cleanupTestCase">
<Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
</TestFunction>
<Duration msecs="0"/>