summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtcpserver
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-05-19 11:53:12 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-05-19 13:11:37 (GMT)
commit879d5cf234bb06657b67a39969ea16d68f79fbeb (patch)
treed5167fae34f649916a1cfcf7a964e0f9b293af4f /tests/auto/qtcpserver
parentbc5cf95c9622fee5bdcc97736dee11923aa9daf4 (diff)
downloadQt-879d5cf234bb06657b67a39969ea16d68f79fbeb.zip
Qt-879d5cf234bb06657b67a39969ea16d68f79fbeb.tar.gz
Qt-879d5cf234bb06657b67a39969ea16d68f79fbeb.tar.bz2
Use QtNetworkSettings for IMAP server, instead of hard coding.
Reviewed-by: Peter Hartmann
Diffstat (limited to 'tests/auto/qtcpserver')
-rw-r--r--tests/auto/qtcpserver/tst_qtcpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtcpserver/tst_qtcpserver.cpp b/tests/auto/qtcpserver/tst_qtcpserver.cpp
index 50b293d..4fd1827 100644
--- a/tests/auto/qtcpserver/tst_qtcpserver.cpp
+++ b/tests/auto/qtcpserver/tst_qtcpserver.cpp
@@ -364,7 +364,7 @@ void tst_QTcpServer::ipv6LoopbackPerformanceTest()
void tst_QTcpServer::ipv4PerformanceTest()
{
QTcpSocket probeSocket;
- probeSocket.connectToHost("imap.troll.no", 143);
+ probeSocket.connectToHost(QtNetworkSettings::serverName(), 143);
QVERIFY(probeSocket.waitForConnected(5000));
QTcpServer server;