Searched refs:allowedLocales (Results 1 – 3 of 3) sorted by relevance
143 Set<ULocale>allowedLocales = new HashSet<ULocale>(); in TestOpenFromSourceRules() local144 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() local235 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 …]
140 Set<ULocale>allowedLocales = new HashSet<ULocale>(); in TestOpenFromSourceRules() local141 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() local232 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 …]
355 const char *allowedLocales; in TestUSpoofCAPI() local359 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()