summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network/kernel/qhostinfo')
-rw-r--r--tests/auto/network/kernel/qhostinfo/qhostinfo.pro5
-rw-r--r--tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp8
2 files changed, 1 insertions, 12 deletions
diff --git a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
index 77ce1867d1..8e79ec618d 100644
--- a/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
+++ b/tests/auto/network/kernel/qhostinfo/qhostinfo.pro
@@ -9,8 +9,3 @@ wince*: {
} else {
win32:LIBS += -lws2_32
}
-
-symbian: TARGET.CAPABILITY = NetworkServices
-symbian: {
- INCLUDEPATH *= $$MW_LAYER_SYSTEMINCLUDE
-}
diff --git a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
index 58b51bcb69..49de1716cd 100644
--- a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
+++ b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
@@ -187,7 +187,6 @@ void tst_QHostInfo::staticInformation()
tst_QHostInfo::tst_QHostInfo()
{
- Q_SET_DEFAULT_IAP
}
tst_QHostInfo::~tst_QHostInfo()
@@ -207,10 +206,6 @@ void tst_QHostInfo::initTestCase()
}
#endif
-#ifdef Q_OS_SYMBIAN
- ipv6Available = true;
- ipv6LookupsAvailable = true;
-#else
ipv6Available = false;
ipv6LookupsAvailable = false;
@@ -240,7 +235,6 @@ void tst_QHostInfo::initTestCase()
}
}
#endif
-#endif
// run each testcase with and without test enabled
QTest::addColumn<bool>("cache");
@@ -450,7 +444,7 @@ protected:
void tst_QHostInfo::threadSafety()
{
const int nattempts = 5;
-#if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN)
+#if defined(Q_OS_WINCE)
const int runs = 10;
#else
const int runs = 100;