Home
last modified time | relevance | path

Searched refs:assertEqualScripts (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DDataDrivenUScriptTest.java36 private static void assertEqualScripts(String msg, int[] expectedScripts, int[] actualScripts) { in assertEqualScripts() method in DataDrivenUScriptTest
93 assertEqualScripts("tg script: Cyrl", // Tajik in TestLocaleGetCode()
95 assertEqualScripts("xsr script: Deva", // Sherpa in TestLocaleGetCode()
99 assertEqualScripts("ja scripts: Kana Hira Hani", in TestLocaleGetCode()
101 assertEqualScripts("ko scripts: Hang Hani", new int[] { UScript.HANGUL, UScript.HAN }, in TestLocaleGetCode()
103assertEqualScripts("zh script: Hani", new int[] { UScript.HAN }, UScript.getCode(ULocale.CHINESE)); in TestLocaleGetCode()
104assertEqualScripts("zh-Hant scripts: Hani Bopo", new int[] { UScript.HAN, UScript.BOPOMOFO }, in TestLocaleGetCode()
106assertEqualScripts("zh-TW scripts: Hani Bopo", new int[] { UScript.HAN, UScript.BOPOMOFO }, in TestLocaleGetCode()
110assertEqualScripts("ro-RO script: Latn", new int[] { UScript.LATIN }, UScript.getCode("ro-RO")); /… in TestLocaleGetCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DDataDrivenUScriptTest.java39 private static void assertEqualScripts(String msg, int[] expectedScripts, int[] actualScripts) { in assertEqualScripts() method in DataDrivenUScriptTest
96 assertEqualScripts("tg script: Cyrl", // Tajik in TestLocaleGetCode()
98 assertEqualScripts("xsr script: Deva", // Sherpa in TestLocaleGetCode()
102 assertEqualScripts("ja scripts: Kana Hira Hani", in TestLocaleGetCode()
104 assertEqualScripts("ko scripts: Hang Hani", new int[] { UScript.HANGUL, UScript.HAN }, in TestLocaleGetCode()
106assertEqualScripts("zh script: Hani", new int[] { UScript.HAN }, UScript.getCode(ULocale.CHINESE)); in TestLocaleGetCode()
107assertEqualScripts("zh-Hant scripts: Hani Bopo", new int[] { UScript.HAN, UScript.BOPOMOFO }, in TestLocaleGetCode()
109assertEqualScripts("zh-TW scripts: Hani Bopo", new int[] { UScript.HAN, UScript.BOPOMOFO }, in TestLocaleGetCode()
113assertEqualScripts("ro-RO script: Latn", new int[] { UScript.LATIN }, UScript.getCode("ro-RO")); /… in TestLocaleGetCode()
/external/icu/icu4c/source/test/cintltst/
Dcucdapi.c31 static void assertEqualScripts(const char *msg, in assertEqualScripts() function
164 assertEqualScripts("tg script: Cyrl", CYRILLIC, 1, scripts, num, err); // Tajik in TestUScriptCodeAPI()
167 assertEqualScripts("xsr script: Deva", DEVANAGARI, 1, scripts, num, err); // Sherpa in TestUScriptCodeAPI()
172 assertEqualScripts("ja scripts: Kana Hira Hani", in TestUScriptCodeAPI()
176 assertEqualScripts("ko scripts: Hang Hani", in TestUScriptCodeAPI()
180 assertEqualScripts("zh script: Hani", HAN, 1, scripts, num, err); in TestUScriptCodeAPI()
183 assertEqualScripts("zh-Hant scripts: Hani Bopo", HAN_BOPO, 2, scripts, num, err); in TestUScriptCodeAPI()
186 assertEqualScripts("zh-TW scripts: Hani Bopo", HAN_BOPO, 2, scripts, num, err); in TestUScriptCodeAPI()
191 assertEqualScripts("ro-RO script: Latn", LATIN, 1, scripts, num, err); in TestUScriptCodeAPI()