Lines Matching refs:fmtCopy

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()
8100 fmtCopy.setNegativePrefix(fmtCopy.getNegativePrefix(someAffix)); in TestGetAffixes()
8101 assertTrue("", fmt != fmtCopy); in TestGetAffixes()
8104 DecimalFormat fmtCopy(fmt); in TestGetAffixes() local
8105 assertTrue("", fmt == fmtCopy); in TestGetAffixes()
8107 fmtCopy.setNegativeSuffix(fmtCopy.getNegativeSuffix(someAffix)); in TestGetAffixes()
8108 assertTrue("", fmt != fmtCopy); in TestGetAffixes()
8731 DecimalFormat fmtCopy(fmt); in Test11646_Equality() local
8732 assertTrue("", fmt == fmtCopy); in Test11646_Equality()
8734 fmtCopy.setPositivePrefix(fmtCopy.getPositivePrefix(positivePrefix)); in Test11646_Equality()
8735 assertFalse("", fmt == fmtCopy); in Test11646_Equality()
8738 DecimalFormat fmtCopy = DecimalFormat(fmt); in Test11646_Equality() local
8739 assertTrue("", fmt == fmtCopy); in Test11646_Equality()
8741 fmtCopy.setPositiveSuffix(fmtCopy.getPositiveSuffix(positivePrefix)); in Test11646_Equality()
8742 assertFalse("", fmt == fmtCopy); in Test11646_Equality()
8745 DecimalFormat fmtCopy(fmt); in Test11646_Equality() local
8746 assertTrue("", fmt == fmtCopy); in Test11646_Equality()
8748 fmtCopy.setNegativePrefix(fmtCopy.getNegativePrefix(negativePrefix)); in Test11646_Equality()
8749 assertFalse("", fmt == fmtCopy); in Test11646_Equality()
8752 DecimalFormat fmtCopy(fmt); in Test11646_Equality() local
8753 assertTrue("", fmt == fmtCopy); in Test11646_Equality()
8755 fmtCopy.setNegativeSuffix(fmtCopy.getNegativeSuffix(negativePrefix)); in Test11646_Equality()
8756 assertFalse("", fmt == fmtCopy); in Test11646_Equality()
8861 LocalPointer<DecimalFormat> fmtCopy; in Test11645_ApplyPatternEquality() local
8864 fmtCopy.adoptInstead(new DecimalFormat(*fmt)); in Test11645_ApplyPatternEquality()
8865 assertFalse("Value before setter", fmtCopy->getMultiplier() == newMultiplier); in Test11645_ApplyPatternEquality()
8866 fmtCopy->setMultiplier(newMultiplier); in Test11645_ApplyPatternEquality()
8867 assertEquals("Value after setter", fmtCopy->getMultiplier(), newMultiplier); in Test11645_ApplyPatternEquality()
8868 fmtCopy->applyPattern(pattern, status); in Test11645_ApplyPatternEquality()
8869 assertEquals("Value after applyPattern", fmtCopy->getMultiplier(), newMultiplier); in Test11645_ApplyPatternEquality()
8870 assertFalse("multiplier", *fmt == *fmtCopy); in Test11645_ApplyPatternEquality()
8873 fmtCopy.adoptInstead(new DecimalFormat(*fmt)); in Test11645_ApplyPatternEquality()
8874 assertFalse("Value before setter", fmtCopy->getRoundingMode() == newRoundingMode); in Test11645_ApplyPatternEquality()
8875 fmtCopy->setRoundingMode(newRoundingMode); in Test11645_ApplyPatternEquality()
8876 assertEquals("Value after setter", fmtCopy->getRoundingMode(), newRoundingMode); in Test11645_ApplyPatternEquality()
8877 fmtCopy->applyPattern(pattern, status); in Test11645_ApplyPatternEquality()
8878 assertEquals("Value after applyPattern", fmtCopy->getRoundingMode(), newRoundingMode); in Test11645_ApplyPatternEquality()
8879 assertFalse("roundingMode", *fmt == *fmtCopy); in Test11645_ApplyPatternEquality()
8882 fmtCopy.adoptInstead(new DecimalFormat(*fmt)); in Test11645_ApplyPatternEquality()
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()
8886 fmtCopy->applyPattern(pattern, status); in Test11645_ApplyPatternEquality()
8887 assertEquals("Value after applyPattern", fmtCopy->getCurrency(), newCurrency); in Test11645_ApplyPatternEquality()
8888 assertFalse("currency", *fmt == *fmtCopy); in Test11645_ApplyPatternEquality()
8891 fmtCopy.adoptInstead(new DecimalFormat(*fmt)); in Test11645_ApplyPatternEquality()
8892 assertFalse("Value before setter", fmtCopy->getCurrencyUsage() == newCurrencyUsage); in Test11645_ApplyPatternEquality()
8893 fmtCopy->setCurrencyUsage(newCurrencyUsage, status); in Test11645_ApplyPatternEquality()
8894 assertEquals("Value after setter", fmtCopy->getCurrencyUsage(), newCurrencyUsage); in Test11645_ApplyPatternEquality()
8895 fmtCopy->applyPattern(pattern, status); in Test11645_ApplyPatternEquality()
8896 assertEquals("Value after applyPattern", fmtCopy->getCurrencyUsage(), newCurrencyUsage); in Test11645_ApplyPatternEquality()
8897 assertFalse("currencyUsage", *fmt == *fmtCopy); in Test11645_ApplyPatternEquality()