summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkreply
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-05-10 12:39:52 +0200
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-05-10 14:27:45 +0200
commit0828b63ce77846f14994f7c47468f0db8b42fbd4 (patch)
tree7897439b1720b950e5e13a73c8376d4bb6600238 /tests/auto/qnetworkreply
parentaec71b27ccf4a9513c474bdbe9d65de5fb5fbdc1 (diff)
Revert "Use QUrl::isLocalFile and fix the scheme checking in local URLs."
This reverts commit ebddf7a8739d7f4aaa7d9cb8a41a14eebb65e4f4.
Diffstat (limited to 'tests/auto/qnetworkreply')
-rw-r--r--tests/auto/qnetworkreply/tst_qnetworkreply.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
index c4d458fed9..9d942bf02a 100644
--- a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
@@ -1166,12 +1166,6 @@ void tst_QNetworkReply::getErrors_data()
QTest::addColumn<int>("httpStatusCode");
QTest::addColumn<bool>("dataIsEmpty");
- // empties
- QTest::newRow("empty-url") << QString() << int(QNetworkReply::ProtocolUnknownError) << 0 << true;
- QTest::newRow("empty-scheme-host") << SRCDIR "/rfc3252.txt" << int(QNetworkReply::ProtocolUnknownError) << 0 << true;
- QTest::newRow("empty-scheme") << "//" + QtNetworkSettings::winServerName() + "/testshare/test.pri"
- << int(QNetworkReply::ProtocolUnknownError) << 0 << true;
-
// file: errors
QTest::newRow("file-host") << "file://this-host-doesnt-exist.troll.no/foo.txt"
#if !defined Q_OS_WIN