Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp9255 static const char16_t *const newCurrency = u"EAT"; in Test11645_ApplyPatternEquality() local
9257 assertFalse("Value before setter", fmtCopy->getCurrency() == newCurrency); in Test11645_ApplyPatternEquality()
9258 fmtCopy->setCurrency(newCurrency); in Test11645_ApplyPatternEquality()
9259 assertEquals("Value after setter", fmtCopy->getCurrency(), newCurrency); in Test11645_ApplyPatternEquality()
9261 assertEquals("Value after applyPattern", fmtCopy->getCurrency(), newCurrency); in Test11645_ApplyPatternEquality()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatTest.java5385 final Currency newCurrency = Currency.getInstance("EAT"); in Test11645()
5387 assertNotEquals("Value before setter", fmtCopy.getCurrency(), newCurrency); in Test11645()
5388 fmtCopy.setCurrency(newCurrency); in Test11645()
5389 assertEquals("Value after setter", fmtCopy.getCurrency(), newCurrency); in Test11645()
5391 assertEquals("Value after applyPattern", fmtCopy.getCurrency(), newCurrency); in Test11645()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java5385 final Currency newCurrency = Currency.getInstance("EAT"); in Test11645()
5387 assertNotEquals("Value before setter", fmtCopy.getCurrency(), newCurrency); in Test11645()
5388 fmtCopy.setCurrency(newCurrency); in Test11645()
5389 assertEquals("Value after setter", fmtCopy.getCurrency(), newCurrency); in Test11645()
5391 assertEquals("Value after applyPattern", fmtCopy.getCurrency(), newCurrency); in Test11645()

Completed in 44 milliseconds