testlib: Report skipped tests in JUnit reporter as <skipped> elements

The Apache Ant and Surefire Maven specs document a <skipped> element that
can be used to signify skipped test, with a corresponding total skipped
test attribute on the <testsuite>.

The element includes an optional message attribute, documented in the
Surefire spec, and in the Ant source code, but not yet documented in
the reverse-engineered Ant spec:

 https://github.com/windyroad/JUnit-Schema/pull/11

Pick-to: 6.2
Task-number: QTBUG-95424
Change-Id: Ib6417a41b9c328836f4017e6ebf7f7e9cd91288d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Tor Arne Vestbø 2021-07-29 17:37:58 +02:00
parent 58f1c0c146
commit fb16a66b71
53 changed files with 122 additions and 157 deletions

View File

@ -139,6 +139,9 @@ void QJUnitTestLogger::stopLogging()
qsnprintf(buf, sizeof(buf), "%i", errorCounter);
currentTestSuite->addAttribute(QTest::AI_Errors, buf);
qsnprintf(buf, sizeof(buf), "%i", QTestLog::skipCount());
currentTestSuite->addAttribute(QTest::AI_Skipped, buf);
currentTestSuite->addAttribute(QTest::AI_Time,
toSecondsFormat(QTestLog::msecsTotalTime()).constData());
@ -273,6 +276,13 @@ void QJUnitTestLogger::addMessage(MessageTypes type, const QString &message, con
Q_UNUSED(file);
Q_UNUSED(line);
if (type == QAbstractTestLogger::Skip) {
auto skippedElement = new QTestElement(QTest::LET_Skipped);
skippedElement->addAttribute(QTest::AI_Message, message.toUtf8().constData());
currentLogElement->addLogElement(skippedElement);
return;
}
auto messageElement = new QTestElement(QTest::LET_Message);
auto systemLogElement = systemOutputElement;
const char *typeBuf = nullptr;
@ -300,7 +310,7 @@ void QJUnitTestLogger::addMessage(MessageTypes type, const QString &message, con
typeBuf = "qfatal";
break;
case QAbstractTestLogger::Skip:
typeBuf = "skip";
Q_UNREACHABLE();
break;
case QAbstractTestLogger::Info:
typeBuf = "info";

View File

@ -141,7 +141,8 @@ const char *QTestCoreElement<ElementType>::elementName() const
"benchmark",
"message",
"system-err",
"system-out"
"system-out",
"skipped"
};
if (type != QTest::LET_Undefined)

View File

@ -145,7 +145,8 @@ const char *QTestElementAttribute::name() const
"time",
"timestamp",
"hostname",
"classname"
"classname",
"skipped"
};
if (attributeIndex != QTest::AI_Undefined)

View File

@ -81,6 +81,7 @@ namespace QTest {
AI_Timestamp = 17,
AI_Hostname = 18,
AI_Classname = 19,
AI_Skipped = 20
};
enum LogElementType
@ -95,7 +96,8 @@ namespace QTest {
LET_Benchmark = 6,
LET_Message = 7,
LET_SystemError = 8,
LET_SystemOutput = 9
LET_SystemOutput = 9,
LET_Skipped = 10
};
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Assert" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Assert" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BadXml" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="16" failures="5" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BadXml" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="16" failures="5" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibCallgrind" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibCallgrind" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -7,11 +7,9 @@
</properties>
<testcase name="initTestCase" classname="tst_BenchlibCallgrind" time="@TEST_DURATION@"/>
<testcase name="twoHundredMillionInstructions" classname="tst_BenchlibCallgrind" time="@TEST_DURATION@">
<!-- type="skip" message="This test is only defined for gcc and x86." -->
<skipped message="This test is only defined for gcc and x86."/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_BenchlibCallgrind" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[This test is only defined for gcc and x86.]]>
</system-out>
<system-out/>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibCounting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibCounting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="1" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -8,14 +8,12 @@
<testcase name="initTestCase" classname="tst_BenchlibCounting" time="@TEST_DURATION@"/>
<testcase name="passingBenchmark" classname="tst_BenchlibCounting" time="@TEST_DURATION@"/>
<testcase name="skippingBenchmark" classname="tst_BenchlibCounting" time="@TEST_DURATION@">
<!-- type="skip" message="This is a skipping benchmark" -->
<skipped message="This is a skipping benchmark"/>
</testcase>
<testcase name="failingBenchmark" classname="tst_BenchlibCounting" time="@TEST_DURATION@">
<failure type="fail" message="This is a failing benchmark"/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_BenchlibCounting" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[This is a skipping benchmark]]>
</system-out>
<system-out/>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibEventCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibEventCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibOptions" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibOptions" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -12,7 +12,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibFifteenIterations" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibFifteenIterations" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -25,7 +25,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibOneHundredMinimum" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibOneHundredMinimum" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibTickCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibTickCounter" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_BenchlibWalltime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_BenchlibWalltime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Blacklisted" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Blacklisted" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -8,7 +8,7 @@
<testcase name="initTestCase" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
<testcase name="pass" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
<testcase name="skip" classname="tst_Blacklisted" time="@TEST_DURATION@">
<!-- type="skip" message="This test should SKIP" -->
<skipped message="This test should SKIP"/>
</testcase>
<testcase name="fail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
<testcase name="xfail" classname="tst_Blacklisted" time="@TEST_DURATION@"/>
@ -23,7 +23,6 @@
<!-- type="qfatal" message="This is a fatal error message that should still appear in silent test output" -->
</testcase>
<system-out>
<![CDATA[This test should SKIP]]>
<![CDATA[This is a debug message that should not appear in silent test output]]>
<![CDATA[This is a critical message that should not appear in silent test output]]>
<![CDATA[This is an info message that should not appear in silent test output]]>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Cmptest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="67" failures="46" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Cmptest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="67" failures="46" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" skipped="8" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -10,24 +10,24 @@
<testcase name="testPassPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testPassFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testSkipPass(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@ -40,7 +40,7 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testFailSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testFailFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@ -61,27 +61,19 @@
<testcase name="testFailInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skip in init()" -->
<skipped message="Skip in init()"/>
</testcase>
<testcase name="testSkipInInit(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" -->
<!-- type="skip" message="Skip in cleanup()" -->
<skipped message="Skip in cleanup()"/>
</testcase>
<testcase name="testSkipInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_Counting" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
<![CDATA[Skip in cleanup()]]>
</system-out>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="34" failures="13" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_DataTable" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="34" failures="13" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_DateTime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_DateTime" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Exception" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Exception" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_ExpectFail" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="24" failures="6" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_ExpectFail" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="24" failures="6" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_FailCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_FailCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_FailDataType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_FailDataType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_FailFetchType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_FailFetchType" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_FailInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_FailInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_FailInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_FailInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_FetchBogus" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_FetchBogus" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="FindTestData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="FindTestData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_globaldata" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="15" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_globaldata" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="15" failures="0" errors="0" skipped="7" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -33,26 +33,26 @@
<!-- type="qdebug" message="cleanup testGlobal local=true" -->
</testcase>
<testcase name="skip" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="skip" message="skipping" -->
<skipped message="skipping"/>
</testcase>
<testcase name="skipLocal(global=false:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=false" -->
<!-- type="skip" message="skipping" -->
<skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=false" -->
</testcase>
<testcase name="skipLocal(global=false:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=true" -->
<!-- type="skip" message="skipping" -->
<skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=true" -->
</testcase>
<testcase name="skipLocal(global=true:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=false" -->
<!-- type="skip" message="skipping" -->
<skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=false" -->
</testcase>
<testcase name="skipLocal(global=true:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipLocal local=true" -->
<!-- type="skip" message="skipping" -->
<skipped message="skipping"/>
<!-- type="qdebug" message="cleanup skipLocal local=true" -->
</testcase>
<testcase name="skipSingle(global=false:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
@ -62,12 +62,12 @@
</testcase>
<testcase name="skipSingle(global=false:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipSingle local=true" -->
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
<!-- type="qdebug" message="cleanup skipSingle local=true" -->
</testcase>
<testcase name="skipSingle(global=true:local=false)" classname="tst_globaldata" time="@TEST_DURATION@">
<!-- type="qdebug" message="init skipSingle local=false" -->
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
<!-- type="qdebug" message="cleanup skipSingle local=false" -->
</testcase>
<testcase name="skipSingle(global=true:local=true)" classname="tst_globaldata" time="@TEST_DURATION@">
@ -96,27 +96,20 @@
<![CDATA[global: true]]>
<![CDATA[local: true]]>
<![CDATA[cleanup testGlobal local=true]]>
<![CDATA[skipping]]>
<![CDATA[init skipLocal local=false]]>
<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=false]]>
<![CDATA[init skipLocal local=true]]>
<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=true]]>
<![CDATA[init skipLocal local=false]]>
<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=false]]>
<![CDATA[init skipLocal local=true]]>
<![CDATA[skipping]]>
<![CDATA[cleanup skipLocal local=true]]>
<![CDATA[init skipSingle local=false]]>
<![CDATA[global: false local: false]]>
<![CDATA[cleanup skipSingle local=false]]>
<![CDATA[init skipSingle local=true]]>
<![CDATA[Skipping]]>
<![CDATA[cleanup skipSingle local=true]]>
<![CDATA[init skipSingle local=false]]>
<![CDATA[Skipping]]>
<![CDATA[cleanup skipSingle local=false]]>
<![CDATA[init skipSingle local=true]]>
<![CDATA[global: true local: true]]>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_JUnit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="3" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_JUnit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="3" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -16,7 +16,7 @@
Expected (3): 3"/>
</testcase>
<testcase name="testFunc3" classname="tst_JUnit" time="@TEST_DURATION@">
<!-- type="skip" message="skipping this function!" -->
<skipped message="skipping this function!"/>
</testcase>
<testcase name="testFunc4" classname="tst_JUnit" time="@TEST_DURATION@">
<failure type="fail" message="a forced failure!"/>
@ -33,7 +33,6 @@
<testcase name="cleanupTestCase" classname="tst_JUnit" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[a qDebug() call with comment-ending stuff -->]]>
<![CDATA[skipping this function!]]>
<![CDATA[this failure is expected]]>
<![CDATA[this failure is also expected]]>
</system-out>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Keyboard" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Keyboard" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_LongString" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_LongString" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="MaxWarnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="MaxWarnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -12,7 +12,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -25,7 +25,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -38,7 +38,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -51,7 +51,7 @@
<system-err/>
</testsuite>
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Nothing" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_PairDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="2" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_PairDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Pass" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Pass" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_QExecStringList" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_QExecStringList" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Signaldumper" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="21" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Signaldumper" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="21" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Silent" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Silent" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="3" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -8,7 +8,7 @@
<testcase name="initTestCase" classname="tst_Silent" time="@TEST_DURATION@"/>
<testcase name="pass" classname="tst_Silent" time="@TEST_DURATION@"/>
<testcase name="skip" classname="tst_Silent" time="@TEST_DURATION@">
<!-- type="skip" message="This test should skip" -->
<skipped message="This test should skip"/>
</testcase>
<testcase name="fail" classname="tst_Silent" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. (This test should fail)"/>
@ -30,7 +30,6 @@
<failure type="fail" message="Received a fatal error."/>
</testcase>
<system-out>
<![CDATA[This test should skip]]>
<![CDATA[This test should XFAIL]]>
<![CDATA[This is a debug message that should not appear in silent test output]]>
<![CDATA[This is a critical message that should not appear in silent test output]]>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_SingleSkip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_SingleSkip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -7,11 +7,9 @@
</properties>
<testcase name="initTestCase" classname="tst_SingleSkip" time="@TEST_DURATION@"/>
<testcase name="myTest" classname="tst_SingleSkip" time="@TEST_DURATION@">
<!-- type="skip" message="skipping test" -->
<skipped message="skipping test"/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_SingleSkip" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[skipping test]]>
</system-out>
<system-out/>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Skip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="6" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Skip" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="6" failures="0" errors="0" skipped="3" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -7,22 +7,19 @@
</properties>
<testcase name="initTestCase" classname="tst_Skip" time="@TEST_DURATION@"/>
<testcase name="test" classname="tst_Skip" time="@TEST_DURATION@">
<!-- type="skip" message="skipping all" -->
<skipped message="skipping all"/>
</testcase>
<testcase name="emptytest" classname="tst_Skip" time="@TEST_DURATION@">
<!-- type="skip" message="skipping all" -->
<skipped message="skipping all"/>
</testcase>
<testcase name="singleSkip(local 1)" classname="tst_Skip" time="@TEST_DURATION@">
<!-- type="skip" message="skipping one" -->
<skipped message="skipping one"/>
</testcase>
<testcase name="singleSkip(local 2)" classname="tst_Skip" time="@TEST_DURATION@">
<!-- type="qdebug" message="this line should only be reached once (true)" -->
</testcase>
<testcase name="cleanupTestCase" classname="tst_Skip" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[skipping all]]>
<![CDATA[skipping all]]>
<![CDATA[skipping one]]>
<![CDATA[this line should only be reached once (true)]]>
</system-out>
<system-err/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_SkipCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_SkipCleanup" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="3" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -8,10 +8,8 @@
<testcase name="initTestCase" classname="tst_SkipCleanup" time="@TEST_DURATION@"/>
<testcase name="aTestFunction" classname="tst_SkipCleanup" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_SkipCleanup" time="@TEST_DURATION@">
<!-- type="skip" message="Skip inside cleanupTestCase." -->
<skipped message="Skip inside cleanupTestCase."/>
</testcase>
<system-out>
<![CDATA[Skip inside cleanupTestCase.]]>
</system-out>
<system-out/>
<system-err/>
</testsuite>

View File

@ -1,16 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_SkipInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_SkipInit" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtBuild" value=""/>
</properties>
<testcase name="initTestCase" classname="tst_SkipInit" time="@TEST_DURATION@">
<!-- type="skip" message="Skip inside initTestCase. This should skip all tests in the class." -->
<skipped message="Skip inside initTestCase. This should skip all tests in the class."/>
</testcase>
<testcase name="cleanupTestCase" classname="tst_SkipInit" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[Skip inside initTestCase. This should skip all tests in the class.]]>
</system-out>
<system-out/>
<system-err/>
</testsuite>

View File

@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_SkipInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_SkipInitData" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="1" failures="0" errors="0" skipped="1" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtBuild" value=""/>
</properties>
<testcase name="initTestCase" classname="tst_SkipInitData" time="@TEST_DURATION@">
<!-- type="skip" message="Skip inside initTestCase_data. This should skip all tests in the class." -->
<skipped message="Skip inside initTestCase_data. This should skip all tests in the class."/>
</testcase>
<system-out>
<![CDATA[Skip inside initTestCase_data. This should skip all tests in the class.]]>
</system-out>
<system-out/>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Sleep" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="0" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Sleep" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="4" failures="0" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_StrCmp" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="8" failures="5" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_StrCmp" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="8" failures="5" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Subtest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="2" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Subtest" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="9" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_TestLib" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="10" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_TestLib" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="10" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_TupleDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="2" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_TupleDiagnostics" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="5" failures="2" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" skipped="8" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -10,24 +10,24 @@
<testcase name="testPassPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testPassFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testPassFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testSkipPass(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@ -40,7 +40,7 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testFailSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testFailFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
@ -61,27 +61,19 @@
<testcase name="testFailInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skip in init()" -->
<skipped message="Skip in init()"/>
</testcase>
<testcase name="testSkipInInit(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" -->
<!-- type="skip" message="Skip in cleanup()" -->
<skipped message="Skip in cleanup()"/>
</testcase>
<testcase name="testSkipInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_Counting" time="@TEST_DURATION@"/>
<system-out>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
<![CDATA[Skip in cleanup()]]>
</system-out>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Counting" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="32" failures="8" errors="0" skipped="8" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
@ -19,7 +19,7 @@
<!-- type="info" message="QCOMPARE(2 + 1, 3)" -->
</testcase>
<testcase name="testPassSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testPassFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" -->
@ -30,20 +30,20 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testSkipPass(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipPass(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(true)" -->
<!-- type="info" message="QCOMPARE(2 + 1, 3)" -->
</testcase>
<testcase name="testSkipSkip(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testSkipFail(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" -->
@ -62,7 +62,7 @@
<failure type="fail" message="&apos;false&apos; returned FALSE. ()"/>
</testcase>
<testcase name="testFailSkip(row 2)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skipping" -->
<skipped message="Skipping"/>
</testcase>
<testcase name="testFailFail(row 1)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="info" message="QVERIFY(false)" -->
@ -85,13 +85,13 @@
<testcase name="testFailInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInInit(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="skip" message="Skip in init()" -->
<skipped message="Skip in init()"/>
</testcase>
<testcase name="testSkipInInit(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(before)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="testSkipInCleanup(skip)" classname="tst_Counting" time="@TEST_DURATION@">
<!-- type="qdebug" message="This test function should execute and then QSKIP in cleanup()" -->
<!-- type="skip" message="Skip in cleanup()" -->
<skipped message="Skip in cleanup()"/>
</testcase>
<testcase name="testSkipInCleanup(after)" classname="tst_Counting" time="@TEST_DURATION@"/>
<testcase name="cleanupTestCase" classname="tst_Counting" time="@TEST_DURATION@"/>
@ -102,28 +102,20 @@
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(true)]]>
<![CDATA[QCOMPARE(2 + 1, 3)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[Skipping]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[QVERIFY(false)]]>
<![CDATA[This test function should execute and then QFAIL in cleanup()]]>
<![CDATA[Skip in init()]]>
<![CDATA[This test function should execute and then QSKIP in cleanup()]]>
<![CDATA[Skip in cleanup()]]>
</system-out>
<system-err/>
</testsuite>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="11" failures="6" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_VerifyExceptionThrown" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="11" failures="6" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Warnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="4" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Warnings" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="7" failures="4" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="tst_Watchdog" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" time="@TEST_DURATION@">
<testsuite name="tst_Watchdog" timestamp="@TEST_START_TIME@" hostname="@HOSTNAME@" tests="2" failures="1" errors="0" skipped="0" time="@TEST_DURATION@">
<properties>
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>