qt5base-lts/tests/auto/corelib
Edward Welbourne d105c67a72 tst_QLocale: Use UTF-8 rather than Latin-1 for C-string-ification
Test names and output need to be UTF-8 for the XML data formats to not
end up malformed - which would upset Coin's testrunner, when it
validates the XML as part of checking - and the few other uses of
toLatin1() were to ASCII content anyway, so can harmlessly (this being
test code, where the slight performance advantage of Latin-1 doesn't
matter) use toUtf8() as well, for the sake of uniformity.

Use of toLatin1() broke an imminent commit in which some territory,
script and language names depart from ASCII, leading to malformed
UTF-8 when they appear in test-data-row names.

Task-number: QTBUG-94460
Change-Id: Ifb826b1e417ba24fd862b93d24d0e7a38858a17f
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2023-08-09 17:53:31 +02:00
..
animation tst_QParallelAnimationGroup: fix memleak 2023-07-14 14:56:03 +02:00
global Make qYieldCpu() public API 2023-07-25 07:21:56 -07:00
io tst_QFile: restrict to running on Linux 2023-08-03 20:49:51 -07:00
ipc QNativeIpcKey: add qHash() function 2023-07-25 12:31:04 +02:00
itemmodels tst_QSortFilterProxyModel: fix mem-leaks II: sortStable() 2023-07-19 04:51:26 +00:00
kernel CMake: remove check for cxx11_future 2023-08-02 12:36:18 -07:00
mimetypes Skip tst_QMimeDatabase::mimeTypeForUnixSpecials_data when AT_FDCWD is not defined 2023-07-28 23:13:09 +02:00
platform CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
plugin Use QT_SUPPORTS_INT128 macro to handle 128-bit integral types 2023-08-01 10:30:51 +02:00
serialization tst_QXmlStream: Remove stray comment 2023-07-25 09:31:17 +02:00
text tst_QLocale: Use UTF-8 rather than Latin-1 for C-string-ification 2023-08-09 17:53:31 +02:00
thread Tests: Fix typo in qfuture test 2023-08-07 23:56:10 +02:00
time Update QTimeZone data to CLDR v43 2023-08-07 19:51:09 +02:00
tools CMake: remove check for cxx11_future 2023-08-02 12:36:18 -07:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00