]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - jars/icu4j-52_1/main/tests/collate/src/com/ibm/icu/dev/test/format/RbnfLenientScannerTest.java
Upgrade ICU4J.
[Dictionary.git] / jars / icu4j-52_1 / main / tests / collate / src / com / ibm / icu / dev / test / format / RbnfLenientScannerTest.java
similarity index 93%
rename from jars/icu4j-4_8_1_1/main/tests/collate/src/com/ibm/icu/dev/test/format/RbnfLenientScannerTest.java
rename to jars/icu4j-52_1/main/tests/collate/src/com/ibm/icu/dev/test/format/RbnfLenientScannerTest.java
index b5764dc9c941f645e48fc593f55d82537d166e11..089ac70f4a1f42c34c60a59d9b6087e1b8d5c527 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2009-2010, International Business Machines Corporation and    *
+ * Copyright (C) 2009-2013, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -44,7 +44,12 @@ public class RbnfLenientScannerTest extends TestFmwk {
         String[][] lpTestData = {
             { "2 thousand six HUNDRED   fifty-7", "2,657" },
         };
-        doLenientParseTest(formatter, lpTestData);
+
+        if (logKnownIssue("9503", "Lenient parse problems with English RBNF")) {
+            logln("Can't do lenient parse test due to http://bugs.icu-project.org/trac/ticket/9503");
+        } else {
+            doLenientParseTest(formatter, lpTestData);
+        }
     }
 
     /**
@@ -66,7 +71,12 @@ public class RbnfLenientScannerTest extends TestFmwk {
             { "2 thousand six HUNDRED   fifty-7", "2,657" },
             { "fifteen hundred and zero", "1,500" }
         };
-        doLenientParseTest(formatter, lpTestData);
+
+        if (logKnownIssue("9503", null)) {
+            logln("Can't do lenient parse test due to http://bugs.icu-project.org/trac/ticket/9503");
+        } else {
+            doLenientParseTest(formatter, lpTestData);
+        }
     }
 
     /**