Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDecimalStyle.java87 DecimalStyle loc1 = DecimalStyle.of(Locale.CANADA); in test_of_Locale() local
88 assertEquals(loc1.getZeroDigit(), '0'); in test_of_Locale()
89 assertEquals(loc1.getPositiveSign(), '+'); in test_of_Locale()
90 assertEquals(loc1.getNegativeSign(), '-'); in test_of_Locale()
91 assertEquals(loc1.getDecimalSeparator(), '.'); in test_of_Locale()
97 DecimalStyle loc1 = DecimalStyle.STANDARD; in test_STANDARD() local
98 assertEquals(loc1.getZeroDigit(), '0'); in test_STANDARD()
99 assertEquals(loc1.getPositiveSign(), '+'); in test_STANDARD()
100 assertEquals(loc1.getNegativeSign(), '-'); in test_STANDARD()
101 assertEquals(loc1.getDecimalSeparator(), '.'); in test_STANDARD()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java229 Locale[] loc1 = locales.toArray(new Locale[locales.size()]); in test_getSymbolLjava_util_Locale() local
249 for(k = 0; k < loc1.length; k++) { in test_getSymbolLjava_util_Locale()
250 Locale.setDefault(loc1[k]); in test_getSymbolLjava_util_Locale()
252 for (i = 0; i < loc1.length; i++) { in test_getSymbolLjava_util_Locale()
255 if (currE.getSymbol(loc1[i]).equals(euro[j])) { in test_getSymbolLjava_util_Locale()
261 + ". For locale " + loc1[i] in test_getSymbolLjava_util_Locale()
263 + currE.getSymbol(loc1[i]) in test_getSymbolLjava_util_Locale()
268 for (i = 0; i < loc1.length; i++) { in test_getSymbolLjava_util_Locale()
271 if (currJ.getSymbol(loc1[i]).equals(yen[j])) { in test_getSymbolLjava_util_Locale()
277 + ". For locale " + loc1[i] in test_getSymbolLjava_util_Locale()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDecimalStyle.java77 DecimalStyle loc1 = DecimalStyle.of(Locale.CANADA); in test_of_Locale_cached() local
79 assertSame(loc1, loc2); in test_of_Locale_cached()
85 DecimalStyle loc1 = DecimalStyle.ofDefaultLocale(); in test_ofDefaultLocale_cached() local
87 assertSame(loc1, loc2); in test_ofDefaultLocale_cached()