qt5base-lts/tests/auto/corelib/text
Edward Welbourne 78b58d4de1 Tidy up tst_QLocale::ctor(), reduce needless repetition
The test macro's first three parameters were given a QLocale:: prefix
by the macro, but the last three weren't. Save uses of the macro the
need to repeat the prefix in all parameters, thereby making the test
cases easier to read. Also, we can compare enum values, rather than
casting them to int; and, when a test fails, reporting the enum name
is far more informative than reporting the integer that represents it.

Change-Id: Ib0360c51049333b4a00ea84e271c99db6724334f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-10-19 17:44:43 +02:00
..
qbytearray CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qbytearrayapisymmetry CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qbytearraylist CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qbytearraymatcher CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qbytearrayview CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qbytedatabuffer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qchar CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qcollator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qlatin1string CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qlocale Tidy up tst_QLocale::ctor(), reduce needless repetition 2020-10-19 17:44:43 +02:00
qregularexpression QREMatchIterator: add support for range-based for 2020-09-30 21:39:36 +02:00
qstring Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qstring_no_cast_from_bytearray CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qstringapisymmetry Make QAnyStringView comparison operators hidden friends 2020-10-06 06:31:18 +02:00
qstringbuilder Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qstringconverter Convert a couple of APIs to use views 2020-10-06 11:16:36 +02:00
qstringiterator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qstringlist CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qstringmatcher CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qstringtokenizer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qstringview Fix some compiler warnings from tests 2020-10-16 13:53:04 +02:00
qtextboundaryfinder CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
CMakeLists.txt Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
text.pro Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00