ICU-3170 undo fixes to UnicodeData.txt and instead keep test from complaining about bugs

X-SVN-Rev: 15147
This commit is contained in:
Markus Scherer 2004-05-04 20:48:07 +00:00
parent 26da9390a9
commit 0038743f47
3 changed files with 13 additions and 27 deletions

View File

@ -3645,25 +3645,15 @@
1366;ETHIOPIC PREFACE COLON;Po;0;L;;;;;N;;;;; 1366;ETHIOPIC PREFACE COLON;Po;0;L;;;;;N;;;;;
1367;ETHIOPIC QUESTION MARK;Po;0;L;;;;;N;;;;; 1367;ETHIOPIC QUESTION MARK;Po;0;L;;;;;N;;;;;
1368;ETHIOPIC PARAGRAPH SEPARATOR;Po;0;L;;;;;N;;;;; 1368;ETHIOPIC PARAGRAPH SEPARATOR;Po;0;L;;;;;N;;;;;
1369;ETHIOPIC DIGIT ONE;Nd;0;L;;;1;1;N;;;;;
# The original version 4.0.1 of UnicodeData.txt file contains a bug. 136A;ETHIOPIC DIGIT TWO;Nd;0;L;;;2;2;N;;;;;
# According to resolved Public Review Issue #26 136B;ETHIOPIC DIGIT THREE;Nd;0;L;;;3;3;N;;;;;
# (http://www.unicode.org/review/resolved-pri.html), 136C;ETHIOPIC DIGIT FOUR;Nd;0;L;;;4;4;N;;;;;
# the Ethiopic digits should be changed from decimal digits to other digits. 136D;ETHIOPIC DIGIT FIVE;Nd;0;L;;;5;5;N;;;;;
# The original file only changed the numeric type but not the general category. 136E;ETHIOPIC DIGIT SIX;Nd;0;L;;;6;6;N;;;;;
# The file for ICU 3.0 is fixed by changing Nd->No according to PRI #26. 136F;ETHIOPIC DIGIT SEVEN;Nd;0;L;;;7;7;N;;;;;
# This ensures that [:Nd:]=[:Numeric_Type=Decimal:] 1370;ETHIOPIC DIGIT EIGHT;Nd;0;L;;;8;8;N;;;;;
1371;ETHIOPIC DIGIT NINE;Nd;0;L;;;9;9;N;;;;;
1369;ETHIOPIC DIGIT ONE;No;0;L;;;1;1;N;;;;;
136A;ETHIOPIC DIGIT TWO;No;0;L;;;2;2;N;;;;;
136B;ETHIOPIC DIGIT THREE;No;0;L;;;3;3;N;;;;;
136C;ETHIOPIC DIGIT FOUR;No;0;L;;;4;4;N;;;;;
136D;ETHIOPIC DIGIT FIVE;No;0;L;;;5;5;N;;;;;
136E;ETHIOPIC DIGIT SIX;No;0;L;;;6;6;N;;;;;
136F;ETHIOPIC DIGIT SEVEN;No;0;L;;;7;7;N;;;;;
1370;ETHIOPIC DIGIT EIGHT;No;0;L;;;8;8;N;;;;;
1371;ETHIOPIC DIGIT NINE;No;0;L;;;9;9;N;;;;;
1372;ETHIOPIC NUMBER TEN;No;0;L;;;;10;N;;;;; 1372;ETHIOPIC NUMBER TEN;No;0;L;;;;10;N;;;;;
1373;ETHIOPIC NUMBER TWENTY;No;0;L;;;;20;N;;;;; 1373;ETHIOPIC NUMBER TWENTY;No;0;L;;;;20;N;;;;;
1374;ETHIOPIC NUMBER THIRTY;No;0;L;;;;30;N;;;;; 1374;ETHIOPIC NUMBER THIRTY;No;0;L;;;;30;N;;;;;

View File

@ -97,7 +97,7 @@ public final class UCharacterTest extends TestFmwk
* Check the version number here. * Check the version number here.
*/ */
VersionInfo version = UCharacter.getUnicodeVersion(); VersionInfo version = UCharacter.getUnicodeVersion();
if(version.getMajor()<4) { if(version.getMajor()<4 || version.equals(VersionInfo.getInstance(4, 0, 1))) {
return; return;
} }
@ -112,13 +112,9 @@ public final class UCharacterTest extends TestFmwk
* (which checks Nd). * (which checks Nd).
* *
* This was not true in Unicode 3.2 and earlier. * This was not true in Unicode 3.2 and earlier.
* The following characters had decimal digit values but were No not Nd. * Unicode 4.0 fixed discrepancies.
* (from DerivedNumericType-3.2.0.txt) * Unicode 4.0.1 re-introduced problems in this area due to an
00B2..00B3 ; decimal # No [2] SUPERSCRIPT TWO..SUPERSCRIPT THREE * unintentionally incomplete last-minute change.
00B9 ; decimal # No SUPERSCRIPT ONE
2070 ; decimal # No SUPERSCRIPT ZERO
2074..2079 ; decimal # No [6] SUPERSCRIPT FOUR..SUPERSCRIPT NINE
2080..2089 ; decimal # No [10] SUBSCRIPT ZERO..SUBSCRIPT NINE
*/ */
String digitsPattern = "[:Nd:]"; String digitsPattern = "[:Nd:]";
String decimalValuesPattern = "[:Numeric_Type=Decimal:]"; String decimalValuesPattern = "[:Numeric_Type=Decimal:]";