mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-11009 Fixed some bad tests in JAVA
X-SVN-Rev: 36063
This commit is contained in:
parent
46c66e0ddb
commit
7300b67daa
1 changed files with 6 additions and 3 deletions
|
@ -118,13 +118,16 @@ public class NumberFormatSpecificationTest extends TestFmwk {
|
|||
assertEquals("", "ne1 234nx", formatFrWithPattern(-1234, "####,##0$*x;ne#n"));
|
||||
assertEquals("", "n1 234*xx", formatFrWithPattern(-1234, "####,##0$*x;n#'*'"));
|
||||
assertEquals("", "yyyy%432,6", formatFrWithPattern(4.33, "*y%4.2######"));
|
||||
assertEquals("", "EUR **433,00", formatFrWithPattern(433.0, "¤¤ **####0.00"));
|
||||
assertEquals("", "EUR **433,00", formatFrWithPattern(433.0, "¤¤ **#######0"));
|
||||
// Broken ticket 11025
|
||||
// assertEquals("", "EUR *433,00", formatFrWithPattern(433.0, "¤¤ **####0.00"));
|
||||
// Broken ticket 11025
|
||||
// assertEquals("", "EUR *433,00", formatFrWithPattern(433.0, "¤¤ **#######0"));
|
||||
{
|
||||
DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE);
|
||||
DecimalFormat fmt = new DecimalFormat("¤¤ **#######0", sym);
|
||||
fmt.setCurrency(Currency.getInstance("JPY"));
|
||||
assertEquals("", "JPY *****433", fmt.format(433.22));
|
||||
// Broken ticket 11025
|
||||
// assertEquals("", "JPY ****433", fmt.format(433.22));
|
||||
}
|
||||
{
|
||||
DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.US);
|
||||
|
|
Loading…
Add table
Reference in a new issue