summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2012-02-01 12:06:18 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-02 06:57:25 +0100
commit42db8b2df643ca46b5c096f8e0951ef158a9c687 (patch)
tree4fb0b14d2e89bc33e1a7c896c9c5af0dfe7a8c2d /tests
parentf42f82f435d738339ad85c1380d1167338517247 (diff)
downloadqtxmlpatterns-42db8b2df643ca46b5c096f8e0951ef158a9c687.tar.gz
Fix QUrl handling after QUrl changes.
toString() is fine for most usages but here the result is made part of XML bits, so toEncoded() is necessary so that '<' and '>' are percent-encoded. Change-Id: I41832cefe3ae12cab13531f17095d0804a2e86d9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qxmlquery/tst_qxmlquery.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qxmlquery/tst_qxmlquery.cpp b/tests/auto/qxmlquery/tst_qxmlquery.cpp
index 9c8461c..27f3964 100644
--- a/tests/auto/qxmlquery/tst_qxmlquery.cpp
+++ b/tests/auto/qxmlquery/tst_qxmlquery.cpp
@@ -2020,10 +2020,6 @@ void tst_QXmlQuery::fnDocNetworkAccessSuccess() const
QVERIFY(buffer.open(QIODevice::WriteOnly));
QXmlSerializer serializer(query, &buffer);
-
- // these tests with data: URL fail since QUrl change e650dd3b6d8212d2c54ddb4a50558b508d0bf2b9
- QEXPECT_FAIL("data scheme with ASCII", "QTBUG-23953, fails", Abort);
- QEXPECT_FAIL("data scheme with ASCII no MIME type", "QTBUG-23953, fails", Abort);
QVERIFY(query.evaluateTo(&serializer));
QCOMPARE(result, expectedOutput);