Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java143 Set<ULocale>allowedLocales = new HashSet<ULocale>(); in TestOpenFromSourceRules() local
144 allowedLocales.add(ULocale.JAPANESE); in TestOpenFromSourceRules()
145 allowedLocales.add(ULocale.FRENCH); in TestOpenFromSourceRules()
146 builder.setAllowedLocales(allowedLocales); in TestOpenFromSourceRules()
230 Set<ULocale> allowedLocales = null; in TestAllowedLocales() local
235 allowedLocales = sc.getAllowedLocales(); in TestAllowedLocales()
236 assertTrue("Empty allowed locales", allowedLocales.isEmpty()); in TestAllowedLocales()
244 allowedLocales = new HashSet<ULocale>(); in TestAllowedLocales()
245 allowedLocales.add(enloc); in TestAllowedLocales()
246 allowedLocales.add(ruloc); in TestAllowedLocales()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java140 Set<ULocale>allowedLocales = new HashSet<ULocale>(); in TestOpenFromSourceRules() local
141 allowedLocales.add(ULocale.JAPANESE); in TestOpenFromSourceRules()
142 allowedLocales.add(ULocale.FRENCH); in TestOpenFromSourceRules()
143 builder.setAllowedLocales(allowedLocales); in TestOpenFromSourceRules()
227 Set<ULocale> allowedLocales = null; in TestAllowedLocales() local
232 allowedLocales = sc.getAllowedLocales(); in TestAllowedLocales()
233 assertTrue("Empty allowed locales", allowedLocales.isEmpty()); in TestAllowedLocales()
241 allowedLocales = new HashSet<ULocale>(); in TestAllowedLocales()
242 allowedLocales.add(enloc); in TestAllowedLocales()
243 allowedLocales.add(ruloc); in TestAllowedLocales()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dspooftest.c355 const char *allowedLocales; in TestUSpoofCAPI() local
359 allowedLocales = uspoof_getAllowedLocales(sc, &status); in TestUSpoofCAPI()
361 TEST_ASSERT(strcmp("", allowedLocales) == 0) in TestUSpoofCAPI()
366 allowedLocales = uspoof_getAllowedLocales(sc, &status); in TestUSpoofCAPI()
368 TEST_ASSERT(strstr(allowedLocales, "en") != NULL); in TestUSpoofCAPI()
369 TEST_ASSERT(strstr(allowedLocales, "ru") != NULL); in TestUSpoofCAPI()