summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-05-05 10:57:22 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-05-05 10:57:22 (GMT)
commitd30cd9c85066cbf25180ba392c16080a7598cdd5 (patch)
treef4bd1cbf4b2f91726c8d8f3707cb573f9555b543 /tests
parent33098f7d362172b148032f4b1b41ade271049d9a (diff)
downloadQt-d30cd9c85066cbf25180ba392c16080a7598cdd5.zip
Qt-d30cd9c85066cbf25180ba392c16080a7598cdd5.tar.gz
Qt-d30cd9c85066cbf25180ba392c16080a7598cdd5.tar.bz2
Implemented: 247272 Remove qtestnetworkservers.h
Qt 4.5 introduced a new network-settings.h file. Adapt all network autotests to use that file and get rid of qtestnetworkservers.h
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qiodevice/tst_qiodevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qiodevice/tst_qiodevice.cpp b/tests/auto/qiodevice/tst_qiodevice.cpp
index f55c659..38eac55 100644
--- a/tests/auto/qiodevice/tst_qiodevice.cpp
+++ b/tests/auto/qiodevice/tst_qiodevice.cpp
@@ -124,7 +124,7 @@ void tst_QIODevice::constructing_QTcpSocket()
QVERIFY(!device->isOpen());
- socket.connectToHost(FTP_TEST_SERVER_NAME_1, 21);
+ socket.connectToHost(QtNetworkSettings::serverName(), 21);
QVERIFY(socket.waitForConnected(5000));
QVERIFY(device->isOpen());