2012-05-02 12:49:31 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-04-27 10:05:43 +00:00
|
|
|
<TestCase name="tst_Xunit">
|
|
|
|
<Environment>
|
|
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
|
|
</Environment>
|
|
|
|
<TestFunction name="initTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc1">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="warn" file="tst_xunit.cpp" line="67">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[just a QWARN() !]]></Description>
|
|
|
|
</Message>
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc2">
|
|
|
|
<Message type="qdebug" file="" line="0">
|
|
|
|
<Description><![CDATA[a qDebug() call with comment-ending stuff -->]]></Description>
|
|
|
|
</Message>
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="tst_xunit.cpp" line="74">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[Compared values are not the same
|
2012-03-08 01:30:10 +00:00
|
|
|
Actual (2): 2
|
2011-04-27 10:05:43 +00:00
|
|
|
Expected (3): 3]]></Description>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc3">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Message type="skip" file="tst_xunit.cpp" line="79">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[skipping this function!]]></Description>
|
|
|
|
</Message>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc4">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="fail" file="tst_xunit.cpp" line="84">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[a forced failure!]]></Description>
|
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc5">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="xfail" file="tst_xunit.cpp" line="98">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[this failure is expected]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc6">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="xfail" file="tst_xunit.cpp" line="104">
|
2011-04-27 10:05:43 +00:00
|
|
|
<Description><![CDATA[this failure is also expected]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="testFunc7">
|
2014-01-02 13:58:22 +00:00
|
|
|
<Incident type="xpass" file="tst_xunit.cpp" line="110">
|
2012-02-17 05:11:20 +00:00
|
|
|
<Description><![CDATA['true' returned TRUE unexpectedly. ()]]></Description>
|
2011-04-27 10:05:43 +00:00
|
|
|
</Incident>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestFunction>
|
2013-10-24 18:10:37 +00:00
|
|
|
<Duration msecs="0"/>
|
2011-04-27 10:05:43 +00:00
|
|
|
</TestCase>
|