summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-05-19 11:29:39 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-05-19 11:30:32 (GMT)
commite85bab636c2ab5d5b538363150433f6a0269a659 (patch)
treeb5a12f635f665757ba8510ce9d982964ca7407f7 /tests
parentec9606bc65aaee81a4defea64afe58594349472a (diff)
downloadQt-e85bab636c2ab5d5b538363150433f6a0269a659.zip
Qt-e85bab636c2ab5d5b538363150433f6a0269a659.tar.gz
Qt-e85bab636c2ab5d5b538363150433f6a0269a659.tar.bz2
Use QtNetworkSettings, don't hard code IMAP host name. This should fix failures in Berlin.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qiodevice/tst_qiodevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qiodevice/tst_qiodevice.cpp b/tests/auto/qiodevice/tst_qiodevice.cpp
index 03a0665..367a2e0 100644
--- a/tests/auto/qiodevice/tst_qiodevice.cpp
+++ b/tests/auto/qiodevice/tst_qiodevice.cpp
@@ -120,7 +120,7 @@ void tst_QIODevice::constructing_QTcpSocket()
QVERIFY(!device->isOpen());
- socket.connectToHost("imap.troll.no", 143);
+ socket.connectToHost(QtNetworkSettings::serverName(), 143);
QVERIFY(socket.waitForConnected(5000));
QVERIFY(device->isOpen());
@@ -134,7 +134,7 @@ void tst_QIODevice::constructing_QTcpSocket()
QCOMPARE(socket.pos(), qlonglong(0));
socket.close();
- socket.connectToHost("imap.troll.no", 143);
+ socket.connectToHost(QtNetworkSettings::serverName(), 143);
QVERIFY(socket.waitForConnected(5000));
while (!device->canReadLine())