From: Peter Edberg Date: Wed, 27 Sep 2017 06:15:31 +0000 (+0000) Subject: ICU-13343 ICU4J test for yue collation variants (the rest of this was done under... X-Git-Tag: release-60-rc~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=884bd3713ccfa611e7b263b608a622f9e158cb25;p=icu ICU-13343 ICU4J test for yue collation variants (the rest of this was done under #13359) X-SVN-Rev: 40474 --- diff --git a/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/CollationAPITest.java b/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/CollationAPITest.java index c7b6589ef1f..84c3a201ed8 100644 --- a/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/CollationAPITest.java +++ b/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/CollationAPITest.java @@ -1095,7 +1095,19 @@ public class CollationAPITest extends TestFmwk { // zh_Hant has default=stroke but the data is in zh. { "zh_TW", "zh_Hant_TW", "zh@collation=stroke" }, { "zh_TW@collation=pinyin", "zh_Hant_TW@collation=pinyin", "zh" }, - { "zh_CN@collation=stroke", "zh_Hans_CN@collation=stroke", "zh@collation=stroke" } + { "zh_CN@collation=stroke", "zh_Hans_CN@collation=stroke", "zh@collation=stroke" }, + // yue/yue_Hant aliased to zh_Hant, yue_Hans aliased to zh_Hans. + { "yue", "zh_Hant", "zh@collation=stroke" }, + { "yue_HK", "zh_Hant", "zh@collation=stroke" }, + { "yue_Hant", "zh_Hant", "zh@collation=stroke" }, + { "yue_Hant_HK", "zh_Hant", "zh@collation=stroke" }, + { "yue@collation=pinyin", "zh_Hant@collation=pinyin", "zh" }, + { "yue_HK@collation=pinyin", "zh_Hant@collation=pinyin", "zh" }, + { "yue_CN", "zh_Hans", "zh" }, + { "yue_Hans", "zh_Hans", "zh" }, + { "yue_Hans_CN", "zh_Hans", "zh" }, + { "yue_Hans@collation=stroke", "zh_Hans@collation=stroke", "zh@collation=stroke" }, + { "yue_CN@collation=stroke", "zh_Hans@collation=stroke", "zh@collation=stroke" } }; /* test opening collators for different locales */