Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestLocaleNamePackaging.java92 for (ULocale targetLocale : locales) { in testRegionDisplayNames()
93 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
94 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testRegionDisplayNames()
105 for (Locale targetLocale : javaLocales) { in testRegionDisplayNames()
106 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
107 assertEquals(targetLocale + " in " + displayJavaLocale, expected[n++], result); in testRegionDisplayNames()
158 for (ULocale targetLocale : locales) { in testLanguageDisplayNames()
159 String result = dn.languageDisplayName(targetLocale.getLanguage()); in testLanguageDisplayNames()
160 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testLanguageDisplayNames()
171 for (Locale targetLocale : javaLocales) { in testLanguageDisplayNames()
[all …]
/third_party/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
DTestLocaleNamePackaging.java89 for (ULocale targetLocale : locales) { in testRegionDisplayNames()
90 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
91 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testRegionDisplayNames()
102 for (Locale targetLocale : javaLocales) { in testRegionDisplayNames()
103 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
104 assertEquals(targetLocale + " in " + displayJavaLocale, expected[n++], result); in testRegionDisplayNames()
155 for (ULocale targetLocale : locales) { in testLanguageDisplayNames()
156 String result = dn.languageDisplayName(targetLocale.getLanguage()); in testLanguageDisplayNames()
157 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testLanguageDisplayNames()
168 for (Locale targetLocale : javaLocales) { in testLanguageDisplayNames()
[all …]
/third_party/icu/tools/unicodetools/com/ibm/rbm/
DRBxliffImporter.java156 String targetLocale = ((Element)fileNode).getAttribute("target-language"); in importDoc() local
160 if (!targetLocale.equals("")) { in importDoc()
163 language = targetLocale; in importDoc()