Remove disabled test data from QUrl autotest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 1 Nov 2011 04:40:32 +0000 (14:40 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 2 Nov 2011 04:43:49 +0000 (05:43 +0100)
The removed test data was for obex URLs, which are not supported by
QUrl.

Change-Id: I166130ae936342d415165e46b7943d198de8986b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/io/qurl/tst_qurl.cpp

index 7fc4702..caa626d 100644 (file)
@@ -2944,12 +2944,6 @@ void tst_QUrl::hosts_data()
     QTest::newRow("longer-ipv6-literal-v4compat") << QString("http://[fec0:8000:4000:8002:1000:ffff:200.100.50.250]")
                                                   << QString("fec0:8000:4000:8002:1000:ffff:200.100.50.250");
 
-#if 0
-    // this is actually invalid
-    QTest::newRow("mac-literal") << QString("obex://[00:30:1b:b7:21:fb]")
-                                 << QString("00:30:1b:b7:21:fb");
-#endif
-
     // normal hostnames
     QTest::newRow("normal") << QString("http://intern") << QString("intern");
     QTest::newRow("normal2") << QString("http://qt.nokia.com") << QString("qt.nokia.com");