mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-9095 added test for issue
X-SVN-Rev: 31312
This commit is contained in:
parent
bbe524b849
commit
400fa68b20
1 changed files with 22 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2002-2011, International Business Machines Corporation and *
|
||||
* Copyright (C) 2002-2012, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -3566,6 +3566,27 @@ public class CollationMiscTest extends TestFmwk {
|
|||
doTestOneReorderingAPITestCase(privateUseCharacterStrings, apiRules);
|
||||
}
|
||||
|
||||
public void TestHaniReorderWithOtherRules()
|
||||
{
|
||||
String[] strRules = {
|
||||
"[reorder Hani] &b<a"
|
||||
};
|
||||
|
||||
OneTestCase[] privateUseCharacterStrings = {
|
||||
new OneTestCase("\u4e00", "\u0041", -1),
|
||||
new OneTestCase("\u4e00", "\u0060", 1),
|
||||
new OneTestCase("\uD86D, 0xDF40", "\u0041", -1),
|
||||
new OneTestCase("\uD86D, 0xDF40", "\u0060", 1),
|
||||
new OneTestCase("\u4e00", "\uD86D\uDF40", -1),
|
||||
new OneTestCase("\ufa27", "\u0041", -1),
|
||||
new OneTestCase("\uD869\uDF00", "\u0041", -1),
|
||||
new OneTestCase("b", "a", -1),
|
||||
};
|
||||
|
||||
/* Test rules creation */
|
||||
doTestCollation(privateUseCharacterStrings, strRules);
|
||||
}
|
||||
|
||||
public void TestMultipleReorder()
|
||||
{
|
||||
String[] strRules = {
|
||||
|
|
Loading…
Add table
Reference in a new issue