qt5base-lts/tests/auto/corelib/text/qbytearray
Marc Mutz 78db5cb643 tst_QByteArray/tst_QString: use new QtMiscUtils::toAsciiUpper()
... in lieu of <cctype>'s toupper(), which is locale-dependent, and
out-of-line.

The code doesn't run into the toupper(i) issue in the Türkiye locale,
because we don't run tests in that locale and because 'i' is not a
valid format specifier, but don't let the next reader of the code
guess when the use of toAsciiUpper() provides unambiguous guidance.

Task-number: QTBUG-109235
Pick-to: 6.5
Change-Id: I8988f5190441e1ae5cb57370952cda70ca6bb658
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-12-20 14:16:31 +01:00
..
.gitignore
CMakeLists.txt QByteArray: move the high-memory-using and slot tests away 2022-11-05 11:15:40 -07:00
tst_qbytearray_mac.mm Move QMacAutoReleasePool from qglobal.h to qcore_mac_p.h 2022-09-01 13:26:30 +02:00
tst_qbytearray.cpp tst_QByteArray/tst_QString: use new QtMiscUtils::toAsciiUpper() 2022-12-20 14:16:31 +01:00