X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fauto%2Fqwebsocket%2Ftst_qwebsocket.cpp;h=f5dc0807fa2782cf8d8989f46416943bc21b72f4;hb=aef4cba4ce5f3acfa6765c71283d9363dffe97b7;hp=529efa3946d1e2f47cfb8e0786e8fb660a8845d8;hpb=5595f6bf78bd63fabca27d263ce15f7b5b93fd64;p=contrib%2Fqtwebsockets.git diff --git a/tests/auto/qwebsocket/tst_qwebsocket.cpp b/tests/auto/qwebsocket/tst_qwebsocket.cpp index 529efa3..f5dc080 100644 --- a/tests/auto/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/qwebsocket/tst_qwebsocket.cpp @@ -147,7 +147,9 @@ private Q_SLOTS: void tst_sendTextMessage(); void tst_sendBinaryMessage(); void tst_errorString(); +#ifndef QT_NO_NETWORKPROXY void tst_setProxy(); +#endif }; tst_QWebSocket::tst_QWebSocket() @@ -576,6 +578,7 @@ void tst_QWebSocket::tst_errorString() QCOMPARE(socket.errorString(), QStringLiteral("Host not found")); } +#ifndef QT_NO_NETWORKPROXY void tst_QWebSocket::tst_setProxy() { // check if property assignment works as expected. @@ -592,6 +595,7 @@ void tst_QWebSocket::tst_setProxy() socket.setProxy(proxy); QCOMPARE(socket.proxy(), proxy); } +#endif // QT_NO_NETWORKPROXY QTEST_MAIN(tst_QWebSocket)