qt5base-lts/tests/auto/corelib/io
Thiago Macieira 4d79312f1c Ensure proper handling of empty-but-present URL components
The new QUrl is able to distinguish a URL component that is empty from
one that is absent. The previous one already had that capability for
the port, fragment and query, and the new one extends that to the username,
password and path. The path did not need this handling because its
delimiter from the authority it part of the path.

For example, a URL with no username is one where it's set to QString()
(null). A URL like "http://:kde@kde.org" is understood as an
empty-but-present username, for which toString(RemovePassword) will
return "http://@kde.org", keeping the empty-but-present username.

Change-Id: I2d97a7656f3f1099e3cf400b199e68e4c480d924
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
2012-04-12 23:01:37 +02:00
..
largefile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qabstractfileengine Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
qbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatastream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qdebug Fix QTextStream and QDebug operator<< for QLatin1String 2012-02-02 11:10:04 +01:00
qdir Fix MSVC warnings in tests. 2012-04-02 16:56:48 +02:00
qdiriterator Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfile Drop file-engine abstraction from public API 2012-02-22 00:07:31 +01:00
qfileinfo Add QFileInfo::isNativePath 2012-02-14 02:48:35 +01: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 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01: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 MSVC warnings in tests. 2012-04-02 16:56:48 +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 Uncomment disabled code in QSettings autotest. 2012-03-27 09:11:04 +02:00
qstandardpaths Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
qtemporarydir Compilation fix: missing includes for geteuid() 2012-02-17 05:27:29 +01:00
qtemporaryfile Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtextstream Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qurl Ensure proper handling of empty-but-present URL components 2012-04-12 23:01:37 +02:00
qurlinternal Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qurlquery Change the component formatting enum values so the default is zero 2012-04-11 23:32:26 +02:00
qwinoverlappedionotifier Update contact address in license headers. 2012-01-31 04:54:56 +01:00
io.pro Add a function to parse IPv4 addresses in QtCore 2012-03-28 16:31:34 +02:00