Remove SkipMode parameter from QSKIP.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 19 Oct 2011 03:57:18 +0000 (13:57 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 21 Oct 2011 02:41:29 +0000 (04:41 +0200)
The SkipMode parameter has been removed from the API in qtbase, so it
must be in all calls to QSKIP.

Task-number: QTBUG-21851, QTBUG-21652
Change-Id: I8f5d6488637acd5e38d3c8dd418ff3776b2f3778
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/qxmlquery/tst_qxmlquery.cpp
tests/auto/xmlpatterns/tst_xmlpatterns.cpp
tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp
tests/auto/xmlpatternsxqts/tst_suitetest.cpp
tests/auto/xmlpatternsxqts/tst_xmlpatternsxqts.cpp

index c524282..241a43a 100644 (file)
@@ -1998,7 +1998,7 @@ void tst_QXmlQuery::fnDocNetworkAccessSuccess() const
     QStringList testsToSkip;
     testsToSkip << "http scheme" << "ftp scheme";
     if (testsToSkip.contains(QTest::currentDataTag()))
-        QSKIP("Network tests are currently unsupported on Windows CE.", SkipSingle);
+        QSKIP("Network tests are currently unsupported on Windows CE.");
 #endif
 
     QFETCH(QUrl, uriToOpen);
@@ -2532,7 +2532,7 @@ void tst_QXmlQuery::setQueryQUrlSuccess() const
     QStringList testsToSkip;
     testsToSkip << "A valid query via the ftp scheme" << "A valid query via the http scheme";
     if (testsToSkip.contains(QTest::currentDataTag()))
-        QSKIP("Network tests are currently unsupported on Windows CE.", SkipSingle);
+        QSKIP("Network tests are currently unsupported on Windows CE.");
 #endif
 
     QFETCH(QUrl, queryURI);
index c1ff307..6d689b0 100644 (file)
@@ -121,8 +121,7 @@ void tst_XmlPatterns::initTestCase()
             qPrintable(QString(
                 "The command line tool (%1) could not be run, possibly because Qt was "
                 "incompletely built or installed. No tests will be run."
-            ).arg(m_command)),
-            SkipAll
+            ).arg(m_command))
         );
     }
 
@@ -131,12 +130,12 @@ void tst_XmlPatterns::initTestCase()
 void tst_XmlPatterns::xquerySupport()
 {
     if(m_dontRun)
-        QSKIP("The command line utility is not in the path.", SkipAll);
+        QSKIP("The command line utility is not in the path.");
 
 #ifdef Q_OS_WINCE
-    QSKIP("WinCE: This test uses unsupported WinCE functionality", SkipAll);
+    QSKIP("WinCE: This test uses unsupported WinCE functionality");
 #elif defined(Q_OS_SYMBIAN)
-    QSKIP("Symbian: This test uses unsupported Symbian functionality (QProcess with std streams)", SkipAll);
+    QSKIP("Symbian: This test uses unsupported Symbian functionality (QProcess with std streams)");
 #endif
 
     QFETCH(int,         expectedExitCode);
@@ -854,12 +853,12 @@ void tst_XmlPatterns::xsltSupport()
 void tst_XmlPatterns::xsltSupport_data() const
 {
     if(m_dontRun)
-        QSKIP("The command line utility is not in the path.", SkipAll);
+        QSKIP("The command line utility is not in the path.");
 
 #ifdef Q_OS_WINCE
-    QSKIP("WinCE: This test uses unsupported WinCE functionality", SkipAll);
+    QSKIP("WinCE: This test uses unsupported WinCE functionality");
 #elif defined(Q_OS_SYMBIAN)
-    QSKIP("Symbian: This test uses unsupported Symbian functionality (QProcess with std streams)", SkipAll);
+    QSKIP("Symbian: This test uses unsupported Symbian functionality (QProcess with std streams)");
 #endif
 
     QTest::addColumn<int>("expectedExitCode");
index 29ed77e..d41ba09 100644 (file)
@@ -88,8 +88,7 @@ void tst_XmlPatternsValidator::initTestCase()
             qPrintable(QString(
                 "The command line tool (%1) could not be run, possibly because Qt was "
                 "incompletely built or installed. No tests will be run."
-            ).arg(m_command)),
-            SkipAll
+            ).arg(m_command))
         );
     }
 }
@@ -97,10 +96,10 @@ void tst_XmlPatternsValidator::initTestCase()
 void tst_XmlPatternsValidator::xsdSupport()
 {
     if(m_dontRun)
-        QSKIP("The command line utility is not in the path.", SkipAll);
+        QSKIP("The command line utility is not in the path.");
 
 #ifdef Q_OS_WINCE
-    QSKIP("WinCE: This test uses unsupported WinCE functionality", SkipAll);
+    QSKIP("WinCE: This test uses unsupported WinCE functionality");
 #endif
 
     QFETCH(int,         expectedExitCode);
index 53541ac..ab48eca 100644 (file)
@@ -79,7 +79,7 @@ void tst_SuiteTest::initTestCase()
 void tst_SuiteTest::runTestSuite() const
 {
     if(m_abortRun)
-        QSKIP("The test suite is not available, no tests are run.", SkipAll);
+        QSKIP("The test suite is not available, no tests are run.");
 
     QString errMsg;
     const QFileInfo fi(m_catalogPath);
@@ -121,7 +121,7 @@ void tst_SuiteTest::runTestSuite() const
 void tst_SuiteTest::checkTestSuiteResult() const
 {
     if(m_abortRun)
-        QSKIP("This test takes too long time to run on the majority of platforms.", SkipAll);
+        QSKIP("This test takes too long time to run on the majority of platforms.");
 
     typedef QList<QFileInfo> QFileInfoList;
 
index adb1f28..11bdc1b 100644 (file)
@@ -66,7 +66,7 @@ tst_XmlPatternsXQTS::tst_XmlPatternsXQTS() : tst_SuiteTest(tst_SuiteTest::XQuery
 void tst_XmlPatternsXQTS::catalogPath(QString &write) const
 {
     if(dontRun())
-        QSKIP("This test takes too long time to run on the majority of platforms.", SkipAll);
+        QSKIP("This test takes too long time to run on the majority of platforms.");
 
     QProcess p4;