summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2011-08-12 17:05:06 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-08-12 17:05:06 (GMT)
commitfa2e888d6c5e148fec99c21011f68dcade7cb4ba (patch)
tree99ad616ab01d853d3783e447f6e9408db77792fe /tests
parent52223d80ec8ba6d579c091efe0e40589a5d2bd67 (diff)
downloadQt-fa2e888d6c5e148fec99c21011f68dcade7cb4ba.zip
Qt-fa2e888d6c5e148fec99c21011f68dcade7cb4ba.tar.gz
Qt-fa2e888d6c5e148fec99c21011f68dcade7cb4ba.tar.bz2
tests: fix QNetworkProxyFactory test
QNetworkProxy takes an hostname, not an url. Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Merge-request: 1319 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp b/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
index 839612e..4ffb00b 100644
--- a/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
+++ b/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
@@ -116,7 +116,7 @@ void tst_QNetworkProxyFactory::systemProxyForQuery() const
QNetworkProxy proxy;
QList<QNetworkProxy> nativeProxyList;
- nativeProxyList << QNetworkProxy(QNetworkProxy::HttpProxy, QString("http://test.proxy.com"), 8080) << QNetworkProxy::NoProxy;
+ nativeProxyList << QNetworkProxy(QNetworkProxy::HttpProxy, QString("test.proxy.com"), 8080) << QNetworkProxy::NoProxy;
foreach (proxy, systemProxyList) {
if (!nativeProxyList.contains(proxy)) {