path: root/tests
diff options
authorAndy Shaw <>2016-01-08 13:45:44 +0100
committerAndy Shaw <>2016-01-13 12:37:56 +0000
commit8c89a8b1ef3e4ce549a5d0bbc4168c199e44f8cf (patch)
tree77caa5066583e0e535e4a402855eb5269bcf676e /tests
parente770728a336d3218ad8b13c04bbea3324d241b48 (diff)
[Android]: Java uses some deprecated locale codes so account for these
There are three deprecated language codes that Java still uses for the locale so we need to account for these inside QLocale by mapping them to the right language. Task-number: QTBUG-49632 Change-Id: Ib66b3f2763e085f7384228f2490b048bb56be259 Reviewed-by: Lars Knoll <>
Diffstat (limited to 'tests')
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
index 0466ced10a..5f046575c4 100644
--- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
+++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
@@ -613,7 +613,8 @@ void tst_QLocale::legacyNames()
TEST_CTOR("no", Norwegian, Norway)
TEST_CTOR("sh_ME", Serbian, Montenegro)
TEST_CTOR("tl", Filipino, Philippines)
+ TEST_CTOR("iw", Hebrew, Israel)
+ TEST_CTOR("in", Indonesian, Indonesia)
#undef TEST_CTOR