Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java28 Locale testLocale; field in LocaleTest
117 assertTrue("Same object returned false", testLocale.equals(testLocale)); in test_equalsLjava_lang_Object()
118 assertTrue("Same values returned false", testLocale.equals(l2)); in test_equalsLjava_lang_Object()
119 assertTrue("Different locales returned true", !testLocale.equals(l)); in test_equalsLjava_lang_Object()
150 assertTrue("Returned incorrect country: " + testLocale.getCountry(), in test_getCountry()
151 testLocale.getCountry().equals("CA")); in test_getCountry()
173 + testLocale.getDisplayCountry(), testLocale in test_getDisplayCountry()
188 + testLocale.getDisplayLanguage(), testLocale in test_getDisplayLanguage()
224 + testLocale.getDisplayVariant(), testLocale in test_getDisplayVariant()
235 + testLocale.getDisplayVariant(l), testLocale in test_getDisplayVariantLjava_util_Locale()
[all …]
DControlTest.java353 Locale testLocale = new Locale("TestLanguage", "TestCountry", "Var"); in test_getFallbackLocale_LStringLLocale() local
354 Locale.setDefault(testLocale); in test_getFallbackLocale_LStringLLocale()
355 assertSame(testLocale, control.getFallbackLocale("baseName", in test_getFallbackLocale_LStringLLocale()
357 assertSame(testLocale, control.getFallbackLocale("baseName", Locale.US)); in test_getFallbackLocale_LStringLLocale()
358 assertSame(null, control.getFallbackLocale("baseName", testLocale)); in test_getFallbackLocale_LStringLLocale()
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidLocaleTest.java35 public void testLocale() throws Exception { in testLocale() method in OldAndroidLocaleTest