qt5base-lts/tests/auto/corelib/io
Thiago Macieira 4d1f0ccbf3 Fix handling of encoded NULs (%00) in QUrl::fromPercentEncoding
QString::fromUtf8, without an explicit size, (currently) defaults to
stopping at the first NUL. That means we need to pass an explicit
size.

Also take the opportunity to test that QUrl::toPercentEncoding also
works with the same data.

Change-Id: I79362d67afda624b01ca07b0315b611c4aa3fdda
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: David Faure <faure@kde.org>
2012-08-01 13:04:12 +02:00
..
largefile Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qabstractfileengine Base 'FileSystem' test helper class on QTemporaryDir. 2012-07-26 15:12:50 +02:00
qbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatastream Remove widgets dependency from qdatastream autotest 2012-06-07 00:39:05 +02:00
qdataurl Fix qDecodeDataUrl for already percentage encoded content. 2012-05-09 20:10:44 +02:00
qdebug QDebug: Add getter/setter for auto-insert-spaces. 2012-07-27 22:05:26 +02:00
qdir Base 'FileSystem' test helper class on QTemporaryDir. 2012-07-26 15:12:50 +02:00
qdiriterator Fix qdiriterator autotest build for WEC7. 2012-06-21 00:58:26 +02:00
qfile Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
qfileinfo Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qfilesystementry Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qfilesystemwatcher Fix directories never being unwatched after deletion on Windows. 2012-03-21 12:32:16 +01:00
qiodevice Skip 3 test methods if the test server isn't set up. 2012-06-23 14:16:29 +02:00
qipaddress Add support for IPv6 parsing and reconstructing the address 2012-03-28 16:31:34 +02:00
qnodebug Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocess fix object file name clash 2012-07-16 01:06:32 +02:00
qprocessenvironment Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qresourceengine Uncomment disabled code in QResourceEngine autotest. 2012-03-14 07:51:45 +01:00
qsettings Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qstandardpaths Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qtemporarydir Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qtemporaryfile Fix QTemporaryFile::open() failing after remove(). 2012-06-05 06:15:06 +02:00
qtextstream Skip 3 test methods if the test server isn't set up. 2012-06-23 14:16:29 +02:00
qurl Fix handling of encoded NULs (%00) in QUrl::fromPercentEncoding 2012-08-01 13:04:12 +02:00
qurlinternal Add missing subdirs (the new QUrl unit tests were not compiled and run) 2012-06-26 14:53:46 +02:00
qurlquery Port away from QUrl::MostDecoded 2012-05-22 20:56:38 +02:00
qwinoverlappedionotifier Removed CONFIG+=parallel_test from suspected parallel-unsafe tests [2] 2012-05-23 03:17:59 +02:00
io.pro test: subtract qurlinternal.pro when private_tests are not enabled 2012-07-10 14:16:13 +02:00