ICU-5410 Add a test to improve code coverage.
X-SVN-Rev: 20511
This commit is contained in:
parent
ff23182ac1
commit
d23cfc5349
@ -1,6 +1,6 @@
|
||||
/*****************************************************************************************
|
||||
*
|
||||
* Copyright (C) 1996-2005, International Business Machines
|
||||
* Copyright (C) 1996-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**/
|
||||
|
||||
@ -71,6 +71,12 @@ public class IntlTestDecimalFormatSymbols extends com.ibm.icu.dev.test.TestFmwk
|
||||
errln("ERROR: get/set DecimalSeparator failed");
|
||||
}
|
||||
|
||||
char monetaryDecimal = en.getMonetaryDecimalSeparator();
|
||||
fr.setMonetaryDecimalSeparator(monetaryDecimal);
|
||||
if(fr.getMonetaryDecimalSeparator() != en.getMonetaryDecimalSeparator()) {
|
||||
errln("ERROR: get/set MonetaryDecimalSeparator failed");
|
||||
}
|
||||
|
||||
char perMill = en.getPerMill();
|
||||
fr.setPerMill(perMill);
|
||||
if(fr.getPerMill() != en.getPerMill()) {
|
||||
|
Loading…
Reference in New Issue
Block a user