ICU-7264 update layout engine script data
X-SVN-Rev: 28923
This commit is contained in:
parent
ded551cad3
commit
d442cc1556
@ -705,41 +705,6 @@ public class TestIDNA extends TestFmwk {
|
||||
|
||||
}
|
||||
}
|
||||
public void TestUnicode32Norm() {
|
||||
// This test fails - is this because of the new Noramlizer implementation?
|
||||
// Revisit this after 4.4.
|
||||
if (skipIfBeforeICU(4,5,2)) {
|
||||
logln("Skipping TestUnicode32Norm");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* test Unicode 3.2 normalization, before Public Review Issue #29
|
||||
* see cnormtst.c TestComposition()
|
||||
*/
|
||||
final String strings[]={
|
||||
"\u1100\u0300\u1161\u0327",
|
||||
"\u0b47\u0300\u0b3e\u0327"
|
||||
};
|
||||
|
||||
String ascii = null, unicode = null;
|
||||
int i;
|
||||
|
||||
for(i=0; i<strings.length; ++i) {
|
||||
try {
|
||||
ascii=IDNA.convertToASCII(strings[i], 0).toString();
|
||||
unicode=IDNA.convertToUnicode(ascii, 0).toString();
|
||||
} catch(StringPrepParseException ex) {
|
||||
errln("string " + i + " gets exception " + ex.toString());
|
||||
}
|
||||
|
||||
if(unicode == null || unicode.compareTo(ascii) != 0) {
|
||||
String uc = unicode == null? "(null)" : unicode;
|
||||
|
||||
errln("string " + i + " yields " + uc +" instead of " + ascii);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void TestJB4490(){
|
||||
String[] in = new String[]{
|
||||
"\u00F5\u00dE\u00dF\u00dD",
|
||||
|
@ -1,15 +1,15 @@
|
||||
/*
|
||||
*
|
||||
* (C) Copyright IBM Corp. 1998-2008. All Rights Reserved.
|
||||
* (C) Copyright IBM Corp. 1998-2010. All Rights Reserved.
|
||||
*
|
||||
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
|
||||
* YOU REALLY KNOW WHAT YOU'RE DOING.
|
||||
*
|
||||
* Generated on: 09/24/2008 01:17:42 PM PDT
|
||||
* Generated on: 10/26/2010 02:53:33 PM PDT
|
||||
*/
|
||||
|
||||
ICU Version=4.1
|
||||
Total Script=129
|
||||
ICU Version=4.6
|
||||
Total Script=146
|
||||
Total Language=71
|
||||
Scripts={
|
||||
ICU_2.2=40
|
||||
@ -21,6 +21,7 @@ Scripts={
|
||||
ICU_3.6=42
|
||||
ICU_3.8=12
|
||||
ICU_4.0=14
|
||||
ICU_4.6=17
|
||||
}
|
||||
Languages={
|
||||
ICU_2.6=30
|
||||
|
Loading…
Reference in New Issue
Block a user