ICU-9156 collv2 fixed some known search test failures

X-SVN-Rev: 35234
This commit is contained in:
Markus Scherer 2014-02-26 00:11:22 +00:00
parent 86861a0867
commit 6177c58d7f

View File

@ -629,9 +629,6 @@ void SSearchTest::offsetTest()
col->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); col->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
for(int32_t i = 0; i < testCount; i += 1) { for(int32_t i = 0; i < testCount; i += 1) {
if (i>=4 && i<=6 && logKnownIssue("9156", "was 8081")) {
continue; // timebomb until ticket #9156 (was #8081) is resolved
}
UnicodeString ts = CharsToUnicodeString(test[i]); UnicodeString ts = CharsToUnicodeString(test[i]);
CollationElementIterator *iter = col->createCollationElementIterator(ts); CollationElementIterator *iter = col->createCollationElementIterator(ts);
OrderList forwardList; OrderList forwardList;
@ -1449,7 +1446,7 @@ void SSearchTest::monkeyTest(char *params)
ucol_setStrength(coll, strengths[s]); ucol_setStrength(coll, strengths[s]);
// TODO: try alternate prefix and suffix too? // TODO: try alternate prefix and suffix too?
// TODO: alterntaes are only equal at primary strength. Is this OK? // TODO: alternates are only equal at primary strength. Is this OK?
for(int32_t t = 0; t < loopCount; t += 1) { for(int32_t t = 0; t < loopCount; t += 1) {
uint32_t seed = m_seed; uint32_t seed = m_seed;
// int32_t nmc = 0; // int32_t nmc = 0;