summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2011-03-15 14:21:39 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-03-15 14:27:41 (GMT)
commit86b1e68285a4dae855a5826f76728cee347d1af2 (patch)
tree82a17c42b0b8794cc1b842ac9bc3c1e4d559c17c
parent981ca30f216b4655b4c171aba5bcb37890cb92b1 (diff)
downloadQt-86b1e68285a4dae855a5826f76728cee347d1af2.zip
Qt-86b1e68285a4dae855a5826f76728cee347d1af2.tar.gz
Qt-86b1e68285a4dae855a5826f76728cee347d1af2.tar.bz2
tst_qhostinfo: Fixes
Reviewed-by: Peter Hartmann
-rw-r--r--tests/auto/qhostinfo/tst_qhostinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qhostinfo/tst_qhostinfo.cpp b/tests/auto/qhostinfo/tst_qhostinfo.cpp
index ee2fe0d..8be8dcb 100644
--- a/tests/auto/qhostinfo/tst_qhostinfo.cpp
+++ b/tests/auto/qhostinfo/tst_qhostinfo.cpp
@@ -291,6 +291,7 @@ void tst_QHostInfo::lookupIPv6_data()
QTest::addColumn<int>("err");
QTest::newRow("ip6") << "www.ipv6-net.org" << "62.93.217.177 2001:618:1401:0:0:0:0:4" << int(QHostInfo::NoError);
+ QTest::newRow("ip6") << "ipv6.google.com" << "2A00:1450:8007:0:0:0:0:63" << int(QHostInfo::NoError);
// avoid using real IPv6 addresses here because this will do a DNS query
// real addresses are between 2000:: and 3fff:ffff:ffff:ffff:ffff:ffff:ffff
@@ -337,7 +338,7 @@ void tst_QHostInfo::reverseLookup_data()
// ### Use internal DNS instead. Discussed with Andreas.
//QTest::newRow("classical.hexago.com") << QString("2001:5c0:0:2::24") << QStringList(QString("classical.hexago.com")) << 0;
- QTest::newRow("origin.cisco.com") << QString("12.159.148.94") << QStringList(QString("origin.cisco.com")) << 0;
+ QTest::newRow("gitorious.org") << QString("87.238.52.168") << QStringList(QString("gitorious.org")) << 0;
QTest::newRow("bogus-name") << QString("1::2::3::4") << QStringList() << 1;
}