diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-05-19 11:29:39 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-05-19 11:30:32 (GMT) |
commit | e85bab636c2ab5d5b538363150433f6a0269a659 (patch) | |
tree | b5a12f635f665757ba8510ce9d982964ca7407f7 /tests | |
parent | ec9606bc65aaee81a4defea64afe58594349472a (diff) | |
download | Qt-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.cpp | 4 |
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()) |