summaryrefslogtreecommitdiffstats
path: root/tests/auto/network
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network')
-rw-r--r--tests/auto/network/access/http2/tst_http2.cpp6
-rw-r--r--tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp6
-rw-r--r--tests/auto/network/kernel/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp10
3 files changed, 11 insertions, 11 deletions
diff --git a/tests/auto/network/access/http2/tst_http2.cpp b/tests/auto/network/access/http2/tst_http2.cpp
index 419d13e33c..2e59480c90 100644
--- a/tests/auto/network/access/http2/tst_http2.cpp
+++ b/tests/auto/network/access/http2/tst_http2.cpp
@@ -990,12 +990,12 @@ void tst_Http2::invalidFrame()
void tst_Http2::invalidRequest(quint32 streamID)
{
- Q_UNUSED(streamID)
+ Q_UNUSED(streamID);
}
void tst_Http2::decompressionFailed(quint32 streamID)
{
- Q_UNUSED(streamID)
+ Q_UNUSED(streamID);
}
void tst_Http2::receivedRequest(quint32 streamID)
@@ -1021,7 +1021,7 @@ void tst_Http2::receivedData(quint32 streamID)
void tst_Http2::windowUpdated(quint32 streamID)
{
- Q_UNUSED(streamID)
+ Q_UNUSED(streamID);
++windowUpdates;
}
diff --git a/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp b/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
index e8d4c773f0..00afdd8177 100644
--- a/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
+++ b/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
@@ -233,7 +233,7 @@ void tst_QHttpNetworkConnection::finishedReply()
void tst_QHttpNetworkConnection::finishedWithError(QNetworkReply::NetworkError errorCode, const QString &detail)
{
- Q_UNUSED(detail)
+ Q_UNUSED(detail);
finishedWithErrorCalled = true;
netErrorCode = errorCode;
}
@@ -425,7 +425,7 @@ void tst_QHttpNetworkConnection::_connect()
void tst_QHttpNetworkConnection::challenge401(const QHttpNetworkRequest &request,
QAuthenticator *authenticator)
{
- Q_UNUSED(request)
+ Q_UNUSED(request);
QHttpNetworkReply *reply = qobject_cast<QHttpNetworkReply*>(sender());
if (reply) {
@@ -563,7 +563,7 @@ void tst_QHttpNetworkConnection::compression()
#ifndef QT_NO_SSL
void tst_QHttpNetworkConnection::sslErrors(const QList<QSslError> &errors)
{
- Q_UNUSED(errors)
+ Q_UNUSED(errors);
QHttpNetworkReply *reply = qobject_cast<QHttpNetworkReply*>(sender());
if (reply) {
diff --git a/tests/auto/network/kernel/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp b/tests/auto/network/kernel/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
index 90da0b64e2..c84120a6e5 100644
--- a/tests/auto/network/kernel/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
+++ b/tests/auto/network/kernel/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
@@ -266,11 +266,11 @@ void tst_QNetworkProxyFactory::genericSystemProxy()
QCOMPARE(systemProxy.first().port(), static_cast<quint16>(port));
qunsetenv(envVar);
#else
- Q_UNUSED(envVar)
- Q_UNUSED(url)
- Q_UNUSED(proxyType)
- Q_UNUSED(hostName)
- Q_UNUSED(port)
+ Q_UNUSED(envVar);
+ Q_UNUSED(url);
+ Q_UNUSED(proxyType);
+ Q_UNUSED(hostName);
+ Q_UNUSED(port);
QSKIP("Generic system proxy not available on this platform.");
#endif
}