Revision control
Copy as Markdown
<?xml version="1.0" encoding="UTF-8"?>
<TestCase name="qt_mock_test">
<Environment>
<QtVersion>MOCK</QtVersion>
<QtBuild>MOCK</QtBuild>
<QTestVersion>6.3.0</QTestVersion>
</Environment>
<TestFunction name="initTestCase">
<Incident type="{{initTestCase_result}}" file="" line="0" />
<Duration msecs="0.00004"/>
</TestFunction>
<TestFunction name="always_pass">
<Incident type="{{always_pass_result}}" file="" line="0" />
<Duration msecs="0.71704"/>
</TestFunction>
<TestFunction name="always_fail">
<Incident type="{{always_fail_result}}" file="" line="0" />
<Duration msecs="0.828272"/>
</TestFunction>
<TestFunction name="always_crash">
<Incident type="{{always_crash_result}}" file="" line="0" />
<Duration msecs="0.828272"/>
</TestFunction>
<!-- The strings like this one "{{fail_then_pass:2_result}}"
are just template strings that will be replaced by the test driver
before each test. The colon doesn't have a special meaning.
The datatags in the following tests are just "2", "5", "6".
We don't strictly need datatags because the tests don't include
specific testing for datatags. It's just that adding a couple
of datatags to this XML template, complicates it a bit and
tests somewhat that functionality as a side-effect.
-->
<TestFunction name="fail_then_pass">
<Incident type="{{fail_then_pass:2_result}}" file="" line="0">
<DataTag><![CDATA[2]]></DataTag>
</Incident>
<Incident type="{{fail_then_pass:5_result}}" file="" line="0">
<DataTag><![CDATA[5]]></DataTag>
</Incident>
<Incident type="{{fail_then_pass:6_result}}" file="" line="0">
<DataTag><![CDATA[6]]></DataTag>
</Incident>
</TestFunction>
<TestFunction name="fail_then_crash">
<Incident type="{{fail_then_crash_result}}" file="" line="0" />
<Duration msecs="0.828272"/>
</TestFunction>
<TestFunction name="pass_then_fail_once">
<Incident type="{{pass_then_fail_once_result}}" file="" line="0" />
<Duration msecs="0.828272"/>
</TestFunction>
<TestFunction name="pass_then_crash_once">
<Incident type="{{pass_then_crash_once_result}}" file="" line="0" />
<Duration msecs="0.828272"/>
</TestFunction>
<TestFunction name="pass_then_fail_then_crash_once">
<Incident type="{{pass_then_fail_then_crash_once_result}}" file="" line="0" />
<Duration msecs="0.828272"/>
</TestFunction>
<Duration msecs="1904.9"/>
</TestCase>