qt5base-lts/tests/auto/corelib/tools/qstringapisymmetry
Marc Mutz f0d9eed064 QString: fix QChar <> QLatin1String relational operators for non-US-ASCII
The implementation used the QString::compare_helper(QChar*, int, char*, int)
overload, which, however, interprets the rhs as a UTF-8 sequence, not as
Latin-1.

Fix by using the (QChar*, int, QLatin1String) overload.

Extend the test to cover this case, too.

Change-Id: I59b26d63d0caec036b80ef8818c75d0cebe519d2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-06-08 21:35:54 +00:00
..
.gitignore Add test for API symmetry of QString/Ref, QLatin1String, QChar 2016-03-15 08:11:35 +00:00
qstringapisymmetry.pro Add test for API symmetry of QString/Ref, QLatin1String, QChar 2016-03-15 08:11:35 +00:00
tst_qstringapisymmetry.cpp QString: fix QChar <> QLatin1String relational operators for non-US-ASCII 2016-06-08 21:35:54 +00:00