ICU-1837 bug in the way replaceable is handled
X-SVN-Rev: 8392
This commit is contained in:
parent
9da6925345
commit
ff1dce8938
@ -13,6 +13,9 @@ import java.text.ParseException;
|
||||
* @summary Round trip test of Transliterator
|
||||
*/
|
||||
public class ReplaceableTest extends TestFmwk {
|
||||
|
||||
public static final boolean LATER_THAN_2_1 = false;
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
new ReplaceableTest().run(args);
|
||||
}
|
||||
@ -23,6 +26,7 @@ public class ReplaceableTest extends TestFmwk {
|
||||
check("Title", "aBCD", "1234");
|
||||
check("NFC", "A\u0300E\u0300", "13");
|
||||
check("NFD", "\u00C0\u00C8", "1122");
|
||||
if (!LATER_THAN_2_1) return;
|
||||
check("*(x) > A $1 B", "wxy", "11223");
|
||||
check("*(x)(y) > A $2 B $1 C $2 D", "wxyz", "113322334");
|
||||
check("*(x)(y)(z) > A $3 B $2 C $1 D", "wxyzu", "114433225");
|
||||
|
Loading…
Reference in New Issue
Block a user