qt5base-lts/tests/auto/corelib/text/qlocale
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
..
syslocaleapp CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
test CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.gitignore
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
qlocale.pro Remove winrt 2020-06-06 20:25:49 +02:00
tst_qlocale.cpp Tidy up tst_QLocale::ctor(), reduce needless repetition 2020-10-19 17:44:43 +02:00