diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-03-31 09:21:23 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2022-03-31 09:59:25 +0200 |
commit | ebf82dc805354e8d9b1c2f0a45bad6594dbbbd22 (patch) | |
tree | 6f70ad36200f1e8e566df6ffa3fa45211acde00e /tests | |
parent | cc4c24b99a87629aeb60df5af96d9bb991b56635 (diff) |
tst_QWebSocket: fix scope of ifdef proxy-check
Because other tests had made their way inside
Pick-to: 6.3 6.2
Change-Id: Ie6fa545a84c2f66e0c2617f498118a3e04eedd0c
Reviewed-by: Arno Rehn <a.rehn@menlosystems.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp index 4f85430..1da7dc8 100644 --- a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp @@ -846,6 +846,7 @@ void tst_QWebSocket::tst_setProxy() socket.setProxy(proxy); QCOMPARE(socket.proxy(), proxy); } +#endif // QT_NO_NETWORKPROXY void tst_QWebSocket::overlongCloseReason() { @@ -948,8 +949,6 @@ void tst_QWebSocket::testingFrameAndMessageSizeApi() QTRY_COMPARE(maxAllowedIncomingMessageSize, socket.maxAllowedIncomingMessageSize()); } -#endif // QT_NO_NETWORKPROXY - QTEST_MAIN(tst_QWebSocket) #include "tst_qwebsocket.moc" |