Lines Matching refs:RuleBasedCollator

163     RuleBasedCollator *rcol = (RuleBasedCollator *)Collator::createInstance("da_DK",  in TestProperty()
208 doAssert(((RuleBasedCollator *)junk)->getRules().isEmpty(), in TestProperty()
235 RuleBasedCollator *col1, *col2, *col3, *col4; in TestRuleBasedColl()
241 col1 = new RuleBasedCollator(ruleset1, status); in TestRuleBasedColl()
251 col2 = new RuleBasedCollator(ruleset2, status); in TestRuleBasedColl()
262 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status); in TestRuleBasedColl()
273 col3 = (RuleBasedCollator *)Collator::createInstance(status); in TestRuleBasedColl()
290 col4 = new RuleBasedCollator(rule2, status); in TestRuleBasedColl()
318 RuleBasedCollator *coll; in TestRules()
322 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules()
630 …CollationElementIterator *iterator1 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter()
633 …CollationElementIterator *coliter=((RuleBasedCollator*)col)->createCollationElementIterator(*chari… in TestElemIter()
636 …CollationElementIterator *iterator2 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter()
637 …CollationElementIterator *iterator3 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter()
814 RuleBasedCollator *col1 = new RuleBasedCollator(ruleset1, success); in TestOperators()
820 RuleBasedCollator *col2 = new RuleBasedCollator(ruleset2, success); in TestOperators()
845 const UnicodeString& defRules = ((RuleBasedCollator*)col3)->getRules(); in TestOperators()
846 RuleBasedCollator* col6 = new RuleBasedCollator(defRules, success); in TestOperators()
851 …doAssert((((RuleBasedCollator*)col3)->getRules() == col6->getRules()), "Default collator getRules … in TestOperators()
854 RuleBasedCollator *col7 = new RuleBasedCollator(ruleset2, Collator::TERTIARY, success); in TestOperators()
860 RuleBasedCollator *col8 = new RuleBasedCollator(ruleset2, UCOL_OFF, success); in TestOperators()
866 RuleBasedCollator *col9 = new RuleBasedCollator(ruleset2, Collator::PRIMARY, UCOL_ON, success); in TestOperators()
900 RuleBasedCollator *col3 = new RuleBasedCollator(ruleset, status); in TestDuplicate()
906 *col3 = *((RuleBasedCollator*)col1); in TestDuplicate()
912 UnicodeString copiedEnglishRules(((RuleBasedCollator*)col1)->getRules()); in TestDuplicate()
921 if (((RuleBasedCollator*)col2)->getRules() != copiedEnglishRules) { in TestDuplicate()
923 … + copiedEnglishRules + UnicodeString("\ngetRules=") + ((RuleBasedCollator*)col2)->getRules()); in TestDuplicate()
1277 RuleBasedCollator coll(rule, status); in TestMaxExpansion()
1373 RuleBasedCollator jamocoll(rule, status); in TestMaxExpansion()
1721 coll = new RuleBasedCollator(rlz, status); in TestGetLocale()
1908 RuleBasedCollator coll(buff, status); in TestGetTailoredSet()
1929 char id = *((char *)RuleBasedCollator::getStaticClassID()); in TestUClassID()
1934 RuleBasedCollator *coll in TestUClassID()
1935 = (RuleBasedCollator *)Collator::createInstance(status); in TestUClassID()
2278 RuleBasedCollator *coll = new RuleBasedCollator(UnicodeString(buf, len), status); in TestNULLCharTailoring()
2294 RuleBasedCollator* c0 = (RuleBasedCollator*)Collator::createInstance(status); in TestClone()
2305 RuleBasedCollator* c1 = (RuleBasedCollator*)Collator::createInstance(status); in TestClone()
2317 RuleBasedCollator* c2 = (RuleBasedCollator*)c1->clone(); in TestClone()
2346 RuleBasedCollator *rbRoot = dynamic_cast<RuleBasedCollator *>(root.getAlias()); in TestCloneBinary()
2347 RuleBasedCollator *rbc = dynamic_cast<RuleBasedCollator *>(coll.getAlias()); in TestCloneBinary()
2363 RuleBasedCollator rbc2(bin, binLength, rbRoot, errorCode); in TestCloneBinary()
2375 RuleBasedCollator rbc3(bin, -1, rbRoot, errorCode); in TestCloneBinary()
2395 RuleBasedCollator coll(UnicodeString("[reorder Hang Hani]"), errorCode); in TestIterNumeric()
2454 void CollationAPITest::dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status) { in dump()