Searched refs:newForTest (Results 1 – 3 of 3) sorted by relevance
122 assertFalse(LocaleSet.newForTest(Locale.ENGLISH) in testShouldPreferJapanese()125 assertTrue(LocaleSet.newForTest(Locale.JAPAN) in testShouldPreferJapanese()129 assertTrue(LocaleSet.newForTest(Locale.JAPAN, Locale.TRADITIONAL_CHINESE) in testShouldPreferJapanese()131 assertTrue(LocaleSet.newForTest(Locale.JAPAN, Locale.SIMPLIFIED_CHINESE) in testShouldPreferJapanese()133 assertFalse(LocaleSet.newForTest(Locale.TRADITIONAL_CHINESE, Locale.JAPAN) in testShouldPreferJapanese()137 assertFalse(LocaleSet.newForTest(Locale.SIMPLIFIED_CHINESE, Locale.JAPAN) in testShouldPreferJapanese()144 assertFalse(LocaleSet.newForTest(Locale.ENGLISH) in testShouldPreferSimplifiedChinese()146 assertFalse(LocaleSet.newForTest(Locale.TRADITIONAL_CHINESE) in testShouldPreferSimplifiedChinese()149 assertTrue(LocaleSet.newForTest(Locale.SIMPLIFIED_CHINESE) in testShouldPreferSimplifiedChinese()153 assertTrue(LocaleSet.newForTest(Locale.SIMPLIFIED_CHINESE, Locale.JAPANESE) in testShouldPreferSimplifiedChinese()[all …]
47 public static LocaleSet newForTest(Locale... locales) { in newForTest() method in LocaleSet
543 return new ContactLocaleUtils(LocaleSet.newForTest(locales)); in newInstanceForTest()548 setLocales(LocaleSet.newForTest(locales)); in setLocaleForTest()