Home
last modified time | relevance | path

Searched refs:getCurrency (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java120 dfsUS.getCurrency(), currency); in test_getCurrency()
130 dfs1.getCurrency() == currK); in test_getCurrency()
138 dfs1.getCurrency() == currK); in test_getCurrency()
146 dfs1.getCurrency() == currX); in test_getCurrency()
154 dfs1.getCurrency() == currE); in test_getCurrency()
298 assertTrue("Returned incorrect currency", currency == dfs.getCurrency()); in test_setCurrencyLjava_util_Currency()
375 .getCurrency()); in test_setInternationalCurrencySymbolLjava_lang_String()
458 Currency currency = symbols.getCurrency(); in test_serialization()
473 currency = symbolsD.getCurrency(); in test_serialization()
518 assertEquals("EUR", dfs.getCurrency().getCurrencyCode()); in assertDecimalFormatSymbolsRIFrance()
DNumberFormatTest.java205 assertSame("Returned incorrect currency", currH, format.getCurrency()); in test_getCurrency()
211 ((NumberFormat) cformat).getCurrency(); in test_getCurrency()
235 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
DDecimalFormatTest.java1717 assertTrue("Test1: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency()
1720 assertTrue("Test2: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency()
1723 assertTrue("Test3: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency()
1726 assertTrue("Test4: Returned incorrect currency", df.getCurrency() == currE); in test_getCurrency()
1730 assertTrue("Test5: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency()
1893 assertTrue("Returned incorrect currency", currency == df.getCurrency()); in test_setCurrency()
1946 assertEquals(df.getCurrency(), deserializedDF.getCurrency()); in testSerializationHarmonyRICompatible()
/libcore/luni/src/test/java/libcore/java/text/
DOldDecimalFormatSymbolsTest.java98 assertEquals(fs.getCurrency(), fsc.getCurrency()); in test_clone()
143 assertEquals("EUR", dfs.getCurrency().getCurrencyCode()); in test_DecimalFormatSymbols_France()
DDecimalFormatSymbolsTest.java78 assertEquals(usd, dfs.getCurrency()); in testSetNulInternationalCurrencySymbol()
85 assertEquals(null, dfs.getCurrency()); in testSetNulInternationalCurrencySymbol()
DOldNumberFormatTest.java79 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
/libcore/luni/src/main/java/java/text/
DDecimalFormat.java725 public Currency getCurrency() { in getCurrency() method in DecimalFormat
726 return symbols.getCurrency(); in getCurrency()
DNumberFormat.java332 public Currency getCurrency() { in getCurrency() method in NumberFormat
DDecimalFormatSymbols.java231 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols