ICU-7965 th uses legacy clusters with 0E33 0EB3 added to Extend; remove test timebomb

X-SVN-Rev: 28663
This commit is contained in:
Peter Edberg 2010-09-21 03:38:50 +00:00
parent 114432eec8
commit 8cab1047c4
3 changed files with 2 additions and 11 deletions

View file

@ -15,8 +15,7 @@
$CR = [\p{Grapheme_Cluster_Break = CR}];
$LF = [\p{Grapheme_Cluster_Break = LF}];
$Control = [\p{Grapheme_Cluster_Break = Control}];
$Extend = [\p{Grapheme_Cluster_Break = Extend} - [\u0E30 \u0E32 \u0E45 \u0EB0 \u0EB2]];
$SpacingMark = [\p{Grapheme_Cluster_Break = SpacingMark}];
$Extend = [\p{Grapheme_Cluster_Break = Extend} + [\u0E33 \u0EB3]];
#
# Korean Syllable Definitions
@ -42,9 +41,6 @@ $L ($L | $V | $LV | $LVT);
[^$Control $CR $LF] $Extend;
[^$Control $CR $LF] $SpacingMark;
## -------------------------------------------------
!!reverse;
@ -54,7 +50,6 @@ $LF $CR;
$T ($LVT | $T);
$Extend [^$Control $CR $LF];
$SpacingMark [^$Control $CR $LF];
## -------------------------------------------------

View file

@ -12,7 +12,7 @@
<identity>
<version number="$Revision: 1.1 $"/>
<generation date="$Date: 2006/04/21 00:54:07 $"/>
<language type="el"/>
<language type="th"/>
</identity>
<special xmlns:icu="http://www.icu-project.org/">
<icu:breakIteratorData>

View file

@ -1965,10 +1965,6 @@ void RBBITest::TestTailoredBreaks() {
UErrorCode status = U_ZERO_ERROR;
switch (tbItemPtr->type) {
case UBRK_CHARACTER:
// TODO(andy): Match Thai grapheme break behavior to Unicode 6.0 and remove this time bomb.
{ UVersionInfo icu453 = { 4, 5, 3, 0 };
if (!isICUVersionAtLeast(icu453)) continue;
}
tailoredBrkiter = BreakIterator::createCharacterInstance(testLocale, status);
rootBrkiter = BreakIterator::createCharacterInstance(rootLocale, status);
break;