summaryrefslogtreecommitdiff
path: root/tests/auto/qiodevice
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-05-19 13:29:39 +0200
committerFrans Englich <frans.englich@nokia.com>2009-05-19 15:11:37 +0200
commitbc5cf95c9622fee5bdcc97736dee11923aa9daf4 (patch)
tree069cedad1c2854ec2f837df662eee88f07ba78d8 /tests/auto/qiodevice
parent6402c393764c884e3e113a2bf155bf38ebcd9aa1 (diff)
downloadqt4-tools-bc5cf95c9622fee5bdcc97736dee11923aa9daf4.tar.gz
Use QtNetworkSettings, don't hard code IMAP host name. This should fix failures in Berlin.
Diffstat (limited to 'tests/auto/qiodevice')
-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 03a066527e..367a2e0824 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())