qt5base-lts/tests/auto/corelib
Thiago Macieira ee7536876c Add the UTF16-to-Latin1 in-place converter
This is only possible for two important reasons:

1) QString and QByteArray d pointers are both done with QArrayData and
   that class does not care that the alignof(T) changes from 2 to 1,
   so we can give the pointer from QString to QByteArray
   (after adapting the allocated size, which is now double)

2) conversion from UTF16 to Latin1 always has fewer bytes (exactly half)

Change-Id: I17b2690c910f3de8db55156c6d6b5f55be06d827
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2013-12-13 09:30:04 +01:00
..
animation don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
codecs Replace use of putenv in test case 2013-11-04 11:16:16 +01:00
global Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
io Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
itemmodels Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
json Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
kernel tst_QObject: separate QSignalBlocker tests 2013-12-11 10:05:07 +01:00
mimetypes Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread tst_qthreadpool: fix memory leak 2013-11-28 09:14:11 +01:00
tools Add the UTF16-to-Latin1 in-place converter 2013-12-13 09:30:04 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00