qt5base-lts/tests/auto/corelib/tools/qstring
Simon Hausmann 42cc42acae Fix QString::localeAwareCompare with composed/decomposed strings on macOS
Similar to commit cd64a96b31 we also need
to normalize the strings before comparison in order to be compliant with
the ECMAScript test suite.

This patch also adds the remaining test cases from
built-ins/String/prototype/localeCompare/15.5.4.9_CE.

Since the same tests are also failing with strcoll/qt_compare_strings,
this simplifies the code to always normalize except when using ICU
(which gets it right by default).

Change-Id: I16b32da7fc70dc7e6725c49f66fe9941d0bf3a47
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2018-07-06 20:49:29 +00:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
double_data.h Updated license headers 2016-01-21 18:55:18 +00:00
qstring.pro Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
tst_qstring_mac.mm Updated license headers 2016-01-21 18:55:18 +00:00
tst_qstring.cpp Fix QString::localeAwareCompare with composed/decomposed strings on macOS 2018-07-06 20:49:29 +00:00