Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java5129 final Currency newCurrency = Currency.getInstance("EAT");
5131 assertNotEquals("Value before setter", fmtCopy.getCurrency(), newCurrency);
5132 fmtCopy.setCurrency(newCurrency);
5133 assertEquals("Value after setter", fmtCopy.getCurrency(), newCurrency);
5135 assertEquals("Value after applyPattern", fmtCopy.getCurrency(), newCurrency);
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp8881 static const char16_t *const newCurrency = u"EAT"; in Test11645_ApplyPatternEquality() local
8883 assertFalse("Value before setter", fmtCopy->getCurrency() == newCurrency); in Test11645_ApplyPatternEquality()
8884 fmtCopy->setCurrency(newCurrency); in Test11645_ApplyPatternEquality()
8885 assertEquals("Value after setter", fmtCopy->getCurrency(), newCurrency); in Test11645_ApplyPatternEquality()
8887 assertEquals("Value after applyPattern", fmtCopy->getCurrency(), newCurrency); in Test11645_ApplyPatternEquality()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java5126 final Currency newCurrency = Currency.getInstance("EAT");
5128 assertNotEquals("Value before setter", fmtCopy.getCurrency(), newCurrency);
5129 fmtCopy.setCurrency(newCurrency);
5130 assertEquals("Value after setter", fmtCopy.getCurrency(), newCurrency);
5132 assertEquals("Value after applyPattern", fmtCopy.getCurrency(), newCurrency);