mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
Collation Improvements [changing test to match API]
X-Trac-URL: https://ssl.icu-project.org/trac/ticket/96 git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@243 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
parent
8eeca30853
commit
35cd36507c
1 changed files with 5 additions and 2 deletions
|
@ -987,7 +987,9 @@ void CollationRegressionTest::Test4139572(char *par)
|
|||
|
||||
delete col;
|
||||
}
|
||||
|
||||
/* HSYS : RuleBasedCollator::compare() performance enhancements
|
||||
compare() does not create CollationElementIterator() anymore.*/
|
||||
|
||||
class My4146160Collator : public RuleBasedCollator
|
||||
{
|
||||
public:
|
||||
|
@ -1030,6 +1032,7 @@ CollationElementIterator *My4146160Collator::createCollationElementIterator(cons
|
|||
//
|
||||
void CollationRegressionTest::Test4146160(char *par)
|
||||
{
|
||||
#if 0
|
||||
//
|
||||
// Use a custom collator class whose createCollationElementIterator
|
||||
// methods increment a count....
|
||||
|
@ -1072,8 +1075,8 @@ void CollationRegressionTest::Test4146160(char *par)
|
|||
}
|
||||
|
||||
delete mc;
|
||||
#endif
|
||||
}
|
||||
|
||||
void CollationRegressionTest::compareArray(Collator &c,
|
||||
const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN],
|
||||
int32_t testCount)
|
||||
|
|
Loading…
Add table
Reference in a new issue