diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-29 13:48:10 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-29 13:48:10 (GMT) |
commit | 22e4b3dfa9f8ee6a596ac6e0d02cb39f364ef27d (patch) | |
tree | ee829409b2efd0e9893156d8d236d7dae20ead5e /tests | |
parent | 6cede417422d8ff421a513d2d031e21fa6080c8c (diff) | |
download | Qt-22e4b3dfa9f8ee6a596ac6e0d02cb39f364ef27d.zip Qt-22e4b3dfa9f8ee6a596ac6e0d02cb39f364ef27d.tar.gz Qt-22e4b3dfa9f8ee6a596ac6e0d02cb39f364ef27d.tar.bz2 |
Autotest: add one test that was in the previous implementation but missing here
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qurl/tst_qurl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qurl/tst_qurl.cpp b/tests/auto/qurl/tst_qurl.cpp index 65ca878..87018d3 100644 --- a/tests/auto/qurl/tst_qurl.cpp +++ b/tests/auto/qurl/tst_qurl.cpp @@ -3730,6 +3730,7 @@ void tst_QUrl::fromUserInput_data() QTest::newRow("localhost-0") << "localhost" << QUrl("http://localhost"); QTest::newRow("localhost-1") << "localhost:80" << QUrl("http://localhost:80"); QTest::newRow("spaces-0") << " http://example.org/test page.html " << QUrl("http://example.org/test%20page.html"); + QTest::newRow("trash-0") << "example.org/test?someData=42%&someOtherData=abcde#anchor" << QUrl::fromEncoded("http://example.org/test?someData=42%25&someOtherData=abcde#anchor"); // FYI: The scheme in the resulting url user QUrl authUrl("user:pass@domain.com"); |