Lines Matching refs:col3

254     RuleBasedCollator *col1, *col2, *col3, *col4;  in TestRuleBasedColl()  local
281 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status); in TestRuleBasedColl()
289 delete col3; in TestRuleBasedColl()
292 col3 = (RuleBasedCollator *)Collator::createInstance(status); in TestRuleBasedColl()
303 UnicodeString rule3 = col3->getRules(); in TestRuleBasedColl()
330 delete col3; in TestRuleBasedColl()
461 Collator *col3 = 0; in TestHashCode() local
462 col3 = Collator::createInstance(Locale::getEnglish(), success); in TestHashCode()
473 doAssert(col1->hashCode() == col3->hashCode(), "Hash result not equal" ); in TestHashCode()
485 col3->getCollationKey(test1, sortk1, status); in TestHashCode()
486 col3->getCollationKey(test2, sortk2, status); in TestHashCode()
487 col3->getCollationKey(test2, sortk3, status); in TestHashCode()
492 delete col3; in TestHashCode()
851 Collator *col3 = Collator::createInstance(Locale::getEnglish(), success); in TestOperators() local
856 doAssert((*col1 != *col3), "The two different table collations compared equal"); in TestOperators()
858 Collator* col5 = col3->clone(); in TestOperators()
860 doAssert((*col3 != *col4), "Two different table collations compared equal"); in TestOperators()
861 doAssert((*col3 == *col5), "Cloned collation objects not equal"); in TestOperators()
864 const UnicodeString& defRules = ((RuleBasedCollator*)col3)->getRules(); in TestOperators()
870 …doAssert((((RuleBasedCollator*)col3)->getRules() == col6->getRules()), "Default collator getRules … in TestOperators()
897 delete col3; in TestOperators()
919 RuleBasedCollator *col3 = new RuleBasedCollator(ruleset, status); in TestDuplicate() local
924 doAssert((*col1 != *col3), "Cloned object is equal to some dummy"); in TestDuplicate()
925 *col3 = *((RuleBasedCollator*)col1); in TestDuplicate()
926 doAssert((*col1 == *col3), "Copied object is not equal to the orginal"); in TestDuplicate()
944 res = col3->compare(first, second, status); in TestDuplicate()
948 if (col3->getRules() != copiedEnglishRules) { in TestDuplicate()
950 + copiedEnglishRules + UnicodeString("\ngetRules=") + col3->getRules()); in TestDuplicate()
954 delete col3; in TestDuplicate()
2287 TestCollator col3(UCOL_TERTIARY, UNORM_NONE); in TestSubclass() local