/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatSymbolsTest.java | 120 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()
|
D | NumberFormatTest.java | 208 assertSame("Returned incorrect currency", currH, format.getCurrency()); in test_getCurrency() 214 ((NumberFormat) cformat).getCurrency(); in test_getCurrency() 238 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
|
D | DecimalFormatTest.java | 1741 assertTrue("Test1: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency() 1744 assertTrue("Test2: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency() 1747 assertTrue("Test3: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency() 1750 assertTrue("Test4: Returned incorrect currency", df.getCurrency() == currE); in test_getCurrency() 1754 assertTrue("Test5: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency() 1917 assertTrue("Returned incorrect currency", currency == df.getCurrency()); in test_setCurrency() 1970 assertEquals(df.getCurrency(), deserializedDF.getCurrency()); in testSerializationHarmonyRICompatible()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatSymbolsTest.java | 107 assertEquals(fs.getCurrency(), fsc.getCurrency()); in test_clone() 152 assertEquals("EUR", dfs.getCurrency().getCurrencyCode()); in test_DecimalFormatSymbols_France()
|
D | DecimalFormatSymbolsTest.java | 78 assertEquals(usd, dfs.getCurrency()); in testSetNulInternationalCurrencySymbol() 85 assertEquals(null, dfs.getCurrency()); in testSetNulInternationalCurrencySymbol() 159 assertEquals(dfs.getCurrency().getCurrencyCode(), icuSymb.getCurrency().getCurrencyCode()); in compareDfs()
|
D | OldNumberFormatTest.java | 83 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CurrencyTest.java | 201 Currency javaCurrency = getCurrency(l); in test_currencyCodeIcuConsistency() 213 assertEquals("USD", getCurrency(locale).getCurrencyCode()); in test_localeExtension() 216 private static Currency getCurrency(Locale l) { in getCurrency() method in CurrencyTest
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 470 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols 839 if (dfs.getCurrency() != null) { in fromIcuInstance() 840 result.setCurrency(Currency.getInstance(dfs.getCurrency().getCurrencyCode())); in fromIcuInstance()
|
D | DecimalFormat.java | 4072 public Currency getCurrency() { in getCurrency() method in DecimalFormat 4073 return symbols.getCurrency(); in getCurrency() 4101 if (currency != symbols.getCurrency() in setCurrency() 4182 Currency currency = symbols.getCurrency(); in adjustForCurrencyDefaultFractionDigits()
|
D | NumberFormat.java | 768 public Currency getCurrency() { in getCurrency() method in NumberFormat
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | DecimalFormatSymbols.java | 172 public java.util.Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols
|
D | NumberFormat.java | 188 public java.util.Currency getCurrency() { in getCurrency() method in NumberFormat
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 122 @libcore.util.Nullable public java.util.Currency getCurrency() { throw new RuntimeException("Stub!"… in getCurrency() method in NumberFormat
|