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 11:55:02 (GMT)
commitfdce2331a7491b5452c63666267ca2b8b98d1298 (patch)
tree5e2058a050b7305dd4fa31e2d8f6810739d3510a /tests/auto/qtcpserver
parentbd41a6e9de0fcd8fc33429213a72e31fa40f5942 (diff)
downloadQt-fdce2331a7491b5452c63666267ca2b8b98d1298.zip
Qt-fdce2331a7491b5452c63666267ca2b8b98d1298.tar.gz
Qt-fdce2331a7491b5452c63666267ca2b8b98d1298.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;