Home | History | Annotate | Download | only in intltest

Lines Matching refs:col3

288     RuleBasedCollator *col1, *col2, *col3, *col4;
315 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status);
323 delete col3;
326 col3 = (RuleBasedCollator *)Collator::createInstance(status);
337 UnicodeString rule3 = col3->getRules();
364 delete col3;
495 Collator *col3 = 0;
496 col3 = Collator::createInstance(Locale::getEnglish(), success);
507 doAssert(col1->hashCode() == col3->hashCode(), "Hash result not equal" );
519 col3->getCollationKey(test1, sortk1, status);
520 col3->getCollationKey(test2, sortk2, status);
521 col3->getCollationKey(test2, sortk3, status);
526 delete col3;
859 Collator *col3 = Collator::createInstance(Locale::getEnglish(), success);
864 doAssert((*col1 != *col3), "The two different table collations compared equal");
866 Collator* col5 = col3->clone();
868 doAssert((*col3 != *col4), "Two different table collations compared equal");
869 doAssert((*col3 == *col5), "Cloned collation objects not equal");
872 const UnicodeString& defRules = ((RuleBasedCollator*)col3)->getRules();
878 doAssert((((RuleBasedCollator*)col3)->getRules() == col6->getRules()), "Default collator getRules failed");
905 delete col3;
927 RuleBasedCollator *col3 = new RuleBasedCollator(*ruleset, status);
928 doAssert((*col1 != *col3), "Cloned object is equal to some dummy");
929 *col3 = *((RuleBasedCollator*)col1);
930 doAssert((*col1 == *col3), "Copied object is not equal to the orginal");
954 res = col3->compare(first, second, status);
958 if (col3->getRules() != copiedEnglishRules) {
960 + copiedEnglishRules + UnicodeString("\ngetRules=") + col3->getRules());
964 delete col3;
2170 TestCollator col3(UCOL_TERTIARY, UNORM_NONE);