qt5base-lts/tests/auto/corelib/io
Thiago Macieira f89fd779fc Overhaul a little the QUrl error reporting.
Keep the original QString that triggered the parsing error, instead of
just one QChar. This provides more powerful error messages, like:

 Invalid IPv6 address; source was "http://[:::]";  scheme = "http", host = ""
 (QUrl cannot keep invalid hostnames)

 Invalid port or port number out of range; source was "http://example.com:abc";  scheme = "http", host = "example.com"
 (QUrl cannot keep a non-numeric port number)

 Invalid path (character '%' not permitted); source was "foo:/path%?";  scheme = "foo", path = "/path%25%1F"
 (the tolerant parser runs first, so the faulty component is fixed)

This stores the error state in a special structure which is not
allocated under normal conditions, keeping the memory consumption
down. On 32-bit systems, QUrlPrivate does not increase in size; on
64-bit systems, it grows by 8 bytes.

Change-Id: I93d798d43401dfeb9fca7b6eed7ea758da10136b
Reviewed-by: David Faure <faure@kde.org>
2012-10-02 22:34:42 +02:00
..
largefile Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qabstractfileengine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qbuffer Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdatastream Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdataurl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdebug Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdir Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdiriterator Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfile remove no-op test from tst_qfile 2012-09-27 15:50:17 +02:00
qfileinfo Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfilesystementry Fix default-constructed QFileSystemEntry 2012-09-25 00:08:16 +02:00
qfilesystemwatcher Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qiodevice Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qipaddress Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qnodebug Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qprocess QProcess.tests: adding test for channel forwarding 2012-10-02 13:22:49 +02:00
qprocessenvironment Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qresourceengine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qsettings Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qstandardpaths Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtemporarydir Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtemporaryfile Rename createLocalFile to createNativeFile & deprecate createLocalFile 2012-10-02 10:43:48 +02:00
qtextstream Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qurl Overhaul a little the QUrl error reporting. 2012-10-02 22:34:42 +02:00
qurlinternal Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qurlquery Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qwinoverlappedionotifier QWinOverlappedIoNotifier test for multiple I/O operations added 2012-10-02 08:05:58 +02:00
io.pro test: subtract qurlinternal.pro when private_tests are not enabled 2012-07-10 14:16:13 +02:00