ICU-8995 add new ISO script code Hluw=Anatolian Hieroglyphs

X-SVN-Rev: 31250
This commit is contained in:
Markus Scherer 2012-01-23 19:52:28 +00:00
parent 31523429f2
commit f2c94fe24f
3 changed files with 14 additions and 9 deletions

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 2001-2011 International Business Machines Corporation and *
* Copyright (C) 2001-2012 International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -867,12 +867,17 @@ public final class UScript {
* ISO 15924 script code
* @stable ICU 49
*/
public static final int KHOJKI = 156;/* Khoj */
public static final int ANATOLIAN_HIEROGLYPHS = 156;/* Hluw */
/**
* ISO 15924 script code
* @stable ICU 49
*/
public static final int TIRHUTA = 157;/* Tirh */
public static final int KHOJKI = 157;/* Khoj */
/**
* ISO 15924 script code
* @stable ICU 49
*/
public static final int TIRHUTA = 158;/* Tirh */
/**
* One higher than the last ISO 15924 script code integer.
@ -880,7 +885,7 @@ public final class UScript {
* for which integer constants are added above.
* @stable ICU 2.4
*/
public static final int CODE_LIMIT = 158;
public static final int CODE_LIMIT = 159;
private static final String kLocaleScript = "LocaleScript";

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5e6a5e6016331f9fa0d0b6006f552992bb832def5b4443d3d189a2292352e76
size 7924441
oid sha256:6b9e35face3400e77f2c95f8974c9a513a24dd31286926afa0d7cb74084c409e
size 7924456

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 1996-2011, International Business Machines Corporation and *
* Copyright (C) 1996-2012, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -458,7 +458,7 @@ public class TestUScript extends TestFmwk {
/* new in ICU 4.8 */
"Afak", "Jurc", "Mroo", "Nshu", "Sharada", "Sora_Sompeng", "Takri", "Tang", "Wole",
/* new in ICU 49 */
"Khoj", "Tirh",
"Hluw", "Khoj", "Tirh",
};
String[] expectedShort = new String[]{
"Bali", "Batk", "Blis", "Brah", "Cham", "Cirt", "Cyrs", "Egyd", "Egyh", "Egyp",
@ -480,7 +480,7 @@ public class TestUScript extends TestFmwk {
/* new in ICU 4.8 */
"Afak", "Jurc", "Mroo", "Nshu", "Shrd", "Sora", "Takr", "Tang", "Wole",
/* new in ICU 49 */
"Khoj", "Tirh",
"Hluw", "Khoj", "Tirh",
};
if(expectedLong.length!=(UScript.CODE_LIMIT-UScript.BALINESE)) {
errln("need to add new script codes in lang.TestUScript.java!");