Searched refs:fmtCopy (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 8083 DecimalFormat fmtCopy(fmt); in TestGetAffixes() local 8084 assertTrue("", fmt == fmtCopy); in TestGetAffixes() 8086 fmtCopy.setPositivePrefix(fmtCopy.getPositivePrefix(someAffix)); in TestGetAffixes() 8087 assertTrue("", fmt != fmtCopy); in TestGetAffixes() 8090 DecimalFormat fmtCopy(fmt); in TestGetAffixes() local 8091 assertTrue("", fmt == fmtCopy); in TestGetAffixes() 8093 fmtCopy.setPositiveSuffix(fmtCopy.getPositiveSuffix(someAffix)); in TestGetAffixes() 8094 assertTrue("", fmt != fmtCopy); in TestGetAffixes() 8097 DecimalFormat fmtCopy(fmt); in TestGetAffixes() local 8098 assertTrue("", fmt == fmtCopy); in TestGetAffixes() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 5106 DecimalFormat fmtCopy; 5109 fmtCopy = (DecimalFormat) fmt.clone(); 5110 assertNotEquals("Value before setter", fmtCopy.getMultiplier(), newMultiplier); 5111 fmtCopy.setMultiplier(newMultiplier); 5112 assertEquals("Value after setter", fmtCopy.getMultiplier(), newMultiplier); 5113 fmtCopy.applyPattern(pattern); 5114 assertEquals("Value after applyPattern", fmtCopy.getMultiplier(), newMultiplier); 5115 assertFalse("multiplier", fmt.equals(fmtCopy)); 5118 fmtCopy = (DecimalFormat) fmt.clone(); 5119 assertNotEquals("Value before setter", fmtCopy.getRoundingMode(), newRoundingMode); [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 5109 DecimalFormat fmtCopy; 5112 fmtCopy = (DecimalFormat) fmt.clone(); 5113 assertNotEquals("Value before setter", fmtCopy.getMultiplier(), newMultiplier); 5114 fmtCopy.setMultiplier(newMultiplier); 5115 assertEquals("Value after setter", fmtCopy.getMultiplier(), newMultiplier); 5116 fmtCopy.applyPattern(pattern); 5117 assertEquals("Value after applyPattern", fmtCopy.getMultiplier(), newMultiplier); 5118 assertFalse("multiplier", fmt.equals(fmtCopy)); 5121 fmtCopy = (DecimalFormat) fmt.clone(); 5122 assertNotEquals("Value before setter", fmtCopy.getRoundingMode(), newRoundingMode); [all …]
|