diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-03-24 07:37:43 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-03-24 07:38:02 +0100 |
commit | 135ebe4f3d268121047fdbfee49f2dd52006165e (patch) | |
tree | 6b303103f36e69e29cfa860b8b7afc584c55d6f3 /tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp | |
parent | e7feb956280105113b3e58f12e5f32f54199a95a (diff) | |
parent | 1e8f50a8d069c97ea6a4f00d664c12e594884f54 (diff) |
Merge remote-tracking branch 'origin/5.5' into dev
Change-Id: If5d2e621c2fa5476c3ab687a3f4620c54fc3b32e
Diffstat (limited to 'tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp')
-rw-r--r-- | tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp b/tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp index 4fee41ca8b..2fd80b3e71 100644 --- a/tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp +++ b/tests/auto/network/bearer/qnetworksession/test/tst_qnetworksession.cpp @@ -67,9 +67,7 @@ private slots: void sessionClosing_data(); void sessionClosing(); -#ifndef QT_NO_PROCESS void outOfProcessSession(); -#endif void invalidSession(); void repeatedOpenClose_data(); @@ -899,9 +897,11 @@ QDebug operator<<(QDebug debug, const QList<QNetworkConfiguration> &list) // Note: outOfProcessSession requires that at least one configuration is // at Discovered -state. -#ifndef QT_NO_PROCESS void tst_QNetworkSession::outOfProcessSession() { +#ifdef QT_NO_PROCESS + QSKIP("No qprocess support", SkipAll); +#else updateConfigurations(); QTest::qWait(2000); @@ -996,8 +996,8 @@ void tst_QNetworkSession::outOfProcessSession() default: QSKIP("Lackey failed"); } -} #endif +} // A convenience / helper function for testcases. Return the first matching configuration. // Ignores configurations in other than 'discovered' -state. Returns invalid (QNetworkConfiguration()) |