breakiterator bug terminated

X-SVN-Rev: 9335
This commit is contained in:
Syn Wee Quek 2002-07-25 17:22:30 +00:00
parent 032806212f
commit b0bbfaebe1

View File

@ -1103,6 +1103,9 @@ void StringSearchTest::TestGetSetOffset()
pattern.setTo(temp, u_strlen(temp));
strsrch->setText(text, status);
strsrch->setPattern(pattern, status);
strsrch->getCollator()->setStrength(getECollationStrength(
search.strength));
strsrch->reset();
int count = 0;
int32_t matchindex = search.offset[count];
@ -1144,6 +1147,8 @@ void StringSearchTest::TestGetSetOffset()
return;
}
}
strsrch->getCollator()->setStrength(getECollationStrength(
UCOL_TERTIARY));
delete strsrch;
}