]> granicus.if.org Git - icu/commitdiff
ICU-13148 Removing duplicated test in ICU4J.
authorShane Carr <shane@unicode.org>
Tue, 8 May 2018 04:10:40 +0000 (04:10 +0000)
committerShane Carr <shane@unicode.org>
Tue, 8 May 2018 04:10:40 +0000 (04:10 +0000)
X-SVN-Rev: 41356

icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/NumberFormatTest.java

index 796d116de7843c23a9dcd83c9161215771ca5ef2..feaf41821b9ba60ef12e52546ac28c090a221fd4 100644 (file)
@@ -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");