qt6-bb10/tests/auto/corelib
Marc Mutz e486d69133 QString: preserve embedded NULs when converting from QByteArray
Unearthed an off-by-one error in a QByteArray::fromRawData() call in
tst_qtextdocumentfragment. Fixed by porting to QStringLiteral.

[ChangeLog][Important Behavior Changes] All conversions from QByteArray
to QString now preserve embedded NULs. This is done in order to provide a
faster conversion from QByteArray to QString that does not involve a call to
strlen. If you need the old behavior, convert from QByteArray::constData()
instead. If you are porting from Qt 4, we suggest to make your source compile
with QT_NO_CAST_FROM_BYTEARRAY before porting to Qt 5.

Change-Id: Ibca40f503920fee6f3a5f0d74a04b38b8849796f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-04-02 19:28:31 +00:00
..
animation Update copyright headers 2015-02-11 06:49:51 +00:00
codecs Fix support for iso8859-16 when compiling with ICU 2015-03-18 07:34:55 +00:00
global Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
io Merge remote-tracking branch 'origin/5.5' into dev 2015-04-01 09:10:26 +02:00
itemmodels Update copyright headers 2015-02-11 06:49:51 +00:00
json Make sure remove() doesn't corrupt the json object 2015-03-18 07:34:59 +00:00
kernel Merge remote-tracking branch 'origin/5.5' into dev 2015-03-24 07:38:02 +01:00
mimetypes Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
plugin Merge remote-tracking branch 'origin/5.5' into dev 2015-04-01 09:10:26 +02:00
statemachine QStateMachine: add objectName to objects to ease debugging. 2015-03-16 12:55:00 +00:00
thread Do not search test binary if QProcess is not supported. 2015-03-23 08:38:58 +00:00
tools QString: preserve embedded NULs when converting from QByteArray 2015-04-02 19:28:31 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00