mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-13148 Removing duplicated test in ICU4J.
X-SVN-Rev: 41356
This commit is contained in:
parent
fe80cdba39
commit
641c8a1cba
1 changed files with 0 additions and 13 deletions
|
@ -5327,19 +5327,6 @@ public class NumberFormatTest extends TestFmwk {
|
|||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void Test13148() {
|
||||
if (logKnownIssue("13148", "Currency separators used in non-currency parsing")) return;
|
||||
DecimalFormat fmt = (DecimalFormat)NumberFormat.getInstance(new ULocale("en", "ZA"));
|
||||
DecimalFormatSymbols symbols = fmt.getDecimalFormatSymbols();
|
||||
symbols.setDecimalSeparator('.');
|
||||
symbols.setGroupingSeparator(',');
|
||||
fmt.setDecimalFormatSymbols(symbols);
|
||||
ParsePosition ppos = new ParsePosition(0);
|
||||
Number number = fmt.parse("300,000", ppos);
|
||||
assertEquals("Should parse to 300000 using non-monetary separators: " + ppos, 300000L, number);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void Test13289() {
|
||||
DecimalFormat df = new DecimalFormat("#00.0#E0");
|
||||
|
|
Loading…
Add table
Reference in a new issue