Lines Matching refs:LocaleListCache
33 EXPECT_EQ(0UL, LocaleListCache::getId("")); in TEST()
35 EXPECT_EQ(LocaleListCache::getId("en"), LocaleListCache::getId("en")); in TEST()
36 EXPECT_NE(LocaleListCache::getId("en"), LocaleListCache::getId("jp")); in TEST()
38 EXPECT_EQ(LocaleListCache::getId("en,zh-Hans"), LocaleListCache::getId("en,zh-Hans")); in TEST()
39 EXPECT_NE(LocaleListCache::getId("en,zh-Hans"), LocaleListCache::getId("zh-Hans,en")); in TEST()
40 EXPECT_NE(LocaleListCache::getId("en,zh-Hans"), LocaleListCache::getId("jp")); in TEST()
41 EXPECT_NE(LocaleListCache::getId("en,zh-Hans"), LocaleListCache::getId("en")); in TEST()
42 EXPECT_NE(LocaleListCache::getId("en,zh-Hans"), LocaleListCache::getId("en,zh-Hant")); in TEST()
46 uint32_t enLangId = LocaleListCache::getId("en"); in TEST()
47 uint32_t jpLangId = LocaleListCache::getId("jp"); in TEST()
48 Locale english = LocaleListCache::getById(enLangId)[0]; in TEST()
49 Locale japanese = LocaleListCache::getById(jpLangId)[0]; in TEST()
51 const LocaleList& defLangs = LocaleListCache::getById(0); in TEST()
54 const LocaleList& locales = LocaleListCache::getById(LocaleListCache::getId("en")); in TEST()
58 const LocaleList& locales2 = LocaleListCache::getById(LocaleListCache::getId("en,jp")); in TEST()