diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-09-27 19:53:01 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-29 06:41:42 +0200 |
commit | 95cebd34ebc5b4d39b11dc91610309a35e488663 (patch) | |
tree | 90ceffef5acea093dd2b8f8f7e8c30593023b85a /tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp | |
parent | ab061e3e436fab35eac8666f3e950e98f66c4d3e (diff) |
Remove Symbian-specific code from tests.
Symbian is not a supported platform for Qt5, so this code is no longer
required.
Change-Id: I1172e6a42d518490e63e9599bf10579df08259aa
Reviewed-on: http://codereview.qt-project.org/5657
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp')
-rw-r--r-- | tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
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; |