qt5base-lts/tests/auto/corelib
Marc Mutz 8acec4dbe6 Long live QUtf8::convertFromLatin1()!
With the introduction of QAnyStringView, overloading based on UTF-8
and Latin-1 is becoming more common. Often, the two overloads can
share the processing backend, because we're only interested in the
US-ASCII subset of each.

But if they can't, we need a faster way to convert L1 into UTF-8 than
going via UTF-16. This is where the new private API comes in.

Eventually, we should have the converse operation, too, to complete
the set of direct conversions between the possible three
QAnyStringView encodings L1/U8/U16, but this direction is easier to
code (there are no error cases) and more immediately useful, so
provide L1->U8 alone for now.

Change-Id: I3f7e1a9c89979d0eb604cb9e42dedf3d514fca2c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-11-02 17:21:28 +01:00
..
animation Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
global QOperatingSystemVersion: add tests for the globals 2022-10-28 14:42:40 -07:00
io QFileInfo: add unittest for setFileTime() 2022-11-01 21:33:15 +02:00
itemmodels Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
kernel tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
mimetypes Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
platform Revert "Android: fix Android assets handler not listing dirs with only sub dirs" 2022-10-25 13:38:46 +00:00
plugin QLibrary: fix loading multiple versions of a library 2022-10-20 15:38:47 -07:00
serialization tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
text Long live QUtf8::convertFromLatin1()! 2022-11-02 17:21:28 +01:00
thread tst_QAtomicInt:fetchAndAdd(): remove two duplicate data rows 2022-10-17 15:53:32 +02:00
time tst_QTime: fix two duplicated test data tags 2022-10-17 15:53:32 +02:00
tools QHash: tame HasQHashSingleArgOverload ODR violations 2022-11-01 01:52:13 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00