summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkinterface
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qnetworkinterface')
-rw-r--r--tests/auto/qnetworkinterface/tst_qnetworkinterface.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/auto/qnetworkinterface/tst_qnetworkinterface.cpp b/tests/auto/qnetworkinterface/tst_qnetworkinterface.cpp
index e69e4dc..4783a29 100644
--- a/tests/auto/qnetworkinterface/tst_qnetworkinterface.cpp
+++ b/tests/auto/qnetworkinterface/tst_qnetworkinterface.cpp
@@ -68,12 +68,14 @@ private slots:
tst_QNetworkInterface::tst_QNetworkInterface()
{
+ Q_SET_DEFAULT_IAP
}
tst_QNetworkInterface::~tst_QNetworkInterface()
{
}
+
void tst_QNetworkInterface::dump()
{
// This is for manual testing:
@@ -125,6 +127,10 @@ void tst_QNetworkInterface::loopbackIPv4()
void tst_QNetworkInterface::loopbackIPv6()
{
+#ifdef Q_OS_SYMBIAN
+ QSKIP( "Symbian: IPv6 is not yet supported", SkipAll );
+#else
+
QList<QHostAddress> all = QNetworkInterface::allAddresses();
bool loopbackfound = false;
@@ -136,8 +142,9 @@ void tst_QNetworkInterface::loopbackIPv6()
break;
} else if (addr.protocol() == QAbstractSocket::IPv6Protocol)
anyIPv6 = true;
-
+
QVERIFY(!anyIPv6 || loopbackfound);
+#endif
}
void tst_QNetworkInterface::localAddress()