qt5base-lts/tests/auto/corelib
Giuseppe D'Angelo 601d685849 Make mid() and midRef() properly return empty, non-null objects
If we request a substring starting at the very end of the string,
QString::mid should return an empty string, not a null string.
For instance, QString("abc").mid(3, 0) used to return a null
one, while this patch makes it return an empty one. The
same thing applies to QString::midRef() and QByteArray::mid().

Change-Id: Ie9efd7a0622d429efd0fb682c19856c19e9469af
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-01-24 17:36:11 +01:00
..
animation Update contact information in license headers. 2012-01-23 04:04:33 +01:00
codecs Update contact information in license headers. 2012-01-23 04:04:33 +01:00
concurrent Update contact information in license headers. 2012-01-23 04:04:33 +01:00
global Update contact information in license headers. 2012-01-23 04:04:33 +01:00
io Make QUrl always lowercase the scheme(). 2012-01-24 15:27:08 +01:00
itemmodels Update contact information in license headers. 2012-01-23 04:04:33 +01:00
json Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00
kernel Store the is-a QObject fact with the metatype declaration. 2012-01-24 15:27:25 +01:00
plugin Update contact information in license headers. 2012-01-23 04:04:33 +01:00
statemachine Update contact information in license headers. 2012-01-23 04:04:33 +01:00
thread Update contact information in license headers. 2012-01-23 04:04:33 +01:00
tools Make mid() and midRef() properly return empty, non-null objects 2012-01-24 17:36:11 +01:00
xml Changed qxmlstream unittest to remove its created file after run. 2012-01-24 06:58:58 +01:00
corelib.pro Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00