Home
last modified time | relevance | path

Searched refs:newCurrencyUsage (Results 1 – 2 of 2) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp9198 static const UCurrencyUsage newCurrencyUsage = UCurrencyUsage::UCURR_USAGE_CASH; in Test11645_ApplyPatternEquality() local
9200 assertFalse("Value before setter", fmtCopy->getCurrencyUsage() == newCurrencyUsage); in Test11645_ApplyPatternEquality()
9201 fmtCopy->setCurrencyUsage(newCurrencyUsage, status); in Test11645_ApplyPatternEquality()
9202 assertEquals("Value after setter", fmtCopy->getCurrencyUsage(), newCurrencyUsage); in Test11645_ApplyPatternEquality()
9204 assertEquals("Value after applyPattern", fmtCopy->getCurrencyUsage(), newCurrencyUsage); in Test11645_ApplyPatternEquality()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java5394 final CurrencyUsage newCurrencyUsage = CurrencyUsage.CASH;
5396 assertNotEquals("Value before setter", fmtCopy.getCurrencyUsage(), newCurrencyUsage);
5398 assertEquals("Value after setter", fmtCopy.getCurrencyUsage(), newCurrencyUsage);
5400 assertEquals("Value after applyPattern", fmtCopy.getCurrencyUsage(), newCurrencyUsage);