ICU-45 Updated cintltst for RBBI changes
. X-SVN-Rev: 557
This commit is contained in:
parent
b4674418b6
commit
fd5bf9249f
@ -1069,6 +1069,10 @@ AllocateTextBoundary();
|
||||
u_charType(c) == U_NON_SPACING_MARK ||
|
||||
u_charType(c) == U_ENCLOSING_MARK ||
|
||||
u_charType(c) == U_CURRENCY_SYMBOL ||
|
||||
u_charType(c) == U_SPACE_SEPARATOR ||
|
||||
u_charType(c) == U_DASH_PUNCTUATION ||
|
||||
u_charType(c) == U_CONTROL_CHAR ||
|
||||
u_charType(c) == U_FORMAT_CHAR ||
|
||||
c == '\n' || c == '\r' || c == 0x2028 || c == 0x2029 ||
|
||||
c == 0x0003 || c == 0x00a0 || c == 0x2007 || c == 0x2011 ||
|
||||
c == 0xfeff)
|
||||
|
@ -635,7 +635,7 @@ void IntlTestTextBoundary::TestLineIteration()
|
||||
}
|
||||
void IntlTestTextBoundary::TestLineInvariants()
|
||||
{
|
||||
BreakIterator *e = BreakIterator::createLineInstance();
|
||||
BreakIterator *e = BreakIterator::createLineInstance(Locale::US);
|
||||
UnicodeString s = CharsToUnicodeString2(".,;:\\u3001\\u3002\\u3041\\u3042\\u3043\\u3044\\u3045\\u30a3\\u4e00\\u4e01\\u4e02");
|
||||
UnicodeString testChars = *cannedTestChars + s;
|
||||
doBreakInvariantTest(*e, testChars);
|
||||
|
Loading…
Reference in New Issue
Block a user