HomeSort by relevance Sort by last modified time
    Searched defs:usd (Results 1 - 4 of 4) sorted by null

  /libcore/luni/src/test/java/libcore/java/util/
CurrencyTest.java 41 Currency.getInstance("USD");
56 assertTrue(all.toString(), all.contains(Currency.getInstance("USD")));
67 assertEquals(2, Currency.getInstance("USD").getDefaultFractionDigits());
94 Currency usd = Currency.getInstance("USD"); local
95 String actual = SerializationTester.serializeHex(usd);
102 assertSame("Currency objects should be singletons", usd, deserializedUsd);
106 assertEquals(840, Currency.getInstance("USD").getNumericCode());
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
CurrencyTest.java 55 Currency usd = Currency.getInstance("USD"); local
56 /*int hash = */usd.hashCode();
58 if (usd.equals(jpy)) {
59 errln("FAIL: USD == JPY");
61 if (usd.equals("abc")) {
62 errln("FAIL: USD == (String)");
64 if (usd.equals(null)) {
65 errln("FAIL: USD == (null)");
67 if (!usd.equals(usd))
106 final Currency usd = Currency.getInstance(Locale.US); local
193 Currency usd = Currency.getInstance("USD"); local
208 Currency usd = Currency.getInstance("USD"); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
CurrencyTest.java 51 Currency usd = Currency.getInstance("USD"); local
52 /*int hash = */usd.hashCode();
54 if (usd.equals(jpy)) {
55 errln("FAIL: USD == JPY");
57 if (usd.equals("abc")) {
58 errln("FAIL: USD == (String)");
60 if (usd.equals(null)) {
61 errln("FAIL: USD == (null)");
63 if (!usd.equals(usd))
102 final Currency usd = Currency.getInstance(Locale.US); local
189 Currency usd = Currency.getInstance("USD"); local
204 Currency usd = Currency.getInstance("USD"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
DecimalFormatSymbolsTest.java 65 dfs.setCurrency(Currency.getInstance("USD"));
69 dfs.setCurrency(Currency.getInstance("USD"));
74 Currency usd = Currency.getInstance("USD"); local
77 dfs.setCurrency(usd);
78 assertEquals(usd, dfs.getCurrency());
80 assertEquals("USD", dfs.getInternationalCurrencySymbol());

Completed in 88 milliseconds