Lines Matching refs:col2

235     RuleBasedCollator *col1, *col2, *col3, *col4;  in TestRuleBasedColl()  local
251 col2 = new RuleBasedCollator(ruleset2, status); in TestRuleBasedColl()
283 UnicodeString rule2 = col2->getRules(); in TestRuleBasedColl()
310 delete col2; in TestRuleBasedColl()
433 Collator *col2 = 0; in TestHashCode() local
435 col2 = Collator::createInstance(dk, success); in TestHashCode()
452 doAssert(col1->hashCode() != col2->hashCode(), "Hash test1 result incorrect" ); in TestHashCode()
453 doAssert(!(col1->hashCode() == col2->hashCode()), "Hash test2 result incorrect" ); in TestHashCode()
458 delete col2; in TestHashCode()
820 RuleBasedCollator *col2 = new RuleBasedCollator(ruleset2, success); in TestOperators() local
827 doAssert((*col1 != *col2), "The two different table collations compared equal"); in TestOperators()
828 *col1 = *col2; in TestOperators()
829 doAssert((*col1 == *col2), "Collator objects not equal after assignment (operator=)"); in TestOperators()
877 delete col2; in TestOperators()
897 Collator *col2 = col1->clone(); in TestDuplicate() local
898 doAssert((*col1 == *col2), "Cloned object is not equal to the orginal"); in TestDuplicate()
917 res = col2->compare(first, second, status); in TestDuplicate()
921 if (((RuleBasedCollator*)col2)->getRules() != copiedEnglishRules) { in TestDuplicate()
923 … + copiedEnglishRules + UnicodeString("\ngetRules=") + ((RuleBasedCollator*)col2)->getRules()); in TestDuplicate()
934 delete col2; in TestDuplicate()
2219 TestCollator col2; in TestSubclass() local
2220 doAssert(col1 != col2, "2 instances of TestCollator should be different"); in TestSubclass()
2221 if (col1.hashCode() != col2.hashCode()) { in TestSubclass()