qt5base-lts/tests/auto/corelib/tools/qlocale
Konstantin Ritt 9b85b81bc8 QLocale: Fix matchingLocales() behavior if script or country is not Any*
Since the documentation doesn't mention the search should be done by language only,
consider the current behavior incorrect.
As of now, it is possible to get a list of locales by Country or Script as well.

Also fix countriesForLanguage() to be in-sync with matchingLocales().

Change-Id: I6a09ca459120143565fa6099d2b823df1fed7c25
Reviewed-by: Denis Dzyubenko <denis@ddenis.info>
2012-11-25 04:06:51 +01:00
..
syslocaleapp Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test Use likelySubtags to instantiate a locale id from it's short form 2012-11-21 18:23:59 +01:00
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
qlocale.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tst_qlocale.cpp QLocale: Fix matchingLocales() behavior if script or country is not Any* 2012-11-25 04:06:51 +01:00