Home
last modified time | relevance | path

Searched refs:dfs1 (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java127 DecimalFormatSymbols dfs1 = new DecimalFormatSymbols(new Locale("ko", in test_getCurrency() local
130 dfs1.getCurrency() == currK); in test_getCurrency()
131 assertEquals("Test1: Returned incorrect currencySymbol", "\u20a9", dfs1 in test_getCurrency()
134 dfs1.getInternationalCurrencySymbol()); in test_getCurrency()
136 dfs1 = new DecimalFormatSymbols(new Locale("", "KR")); in test_getCurrency()
138 dfs1.getCurrency() == currK); in test_getCurrency()
139 assertEquals("Test2: Returned incorrect currencySymbol", "\u20a9", dfs1 in test_getCurrency()
142 dfs1.getInternationalCurrencySymbol()); in test_getCurrency()
144 dfs1 = new DecimalFormatSymbols(new Locale("ko", "")); in test_getCurrency()
146 dfs1.getCurrency() == currX); in test_getCurrency()
[all …]
/libcore/luni/src/test/java/libcore/java/text/
DOldDecimalFormatSymbolsTest.java85 DecimalFormatSymbols dfs1 = new DecimalFormatSymbols(); in test_hashCode() local
86 DecimalFormatSymbols dfs2 = (DecimalFormatSymbols) dfs1.clone(); in test_hashCode()
88 .hashCode() == dfs1.hashCode()); in test_hashCode()
89 dfs1.setInfinity("infinity_infinity"); in test_hashCode()
91 .hashCode() != dfs1.hashCode()); in test_hashCode()