Lines Matching refs:col2
254 RuleBasedCollator *col1, *col2, *col3, *col4; in TestRuleBasedColl() local
270 col2 = new RuleBasedCollator(ruleset2, status); in TestRuleBasedColl()
302 UnicodeString rule2 = col2->getRules(); in TestRuleBasedColl()
329 delete col2; in TestRuleBasedColl()
452 Collator *col2 = 0; in TestHashCode() local
454 col2 = Collator::createInstance(dk, success); in TestHashCode()
471 doAssert(col1->hashCode() != col2->hashCode(), "Hash test1 result incorrect" ); in TestHashCode()
472 doAssert(!(col1->hashCode() == col2->hashCode()), "Hash test2 result incorrect" ); in TestHashCode()
477 delete col2; in TestHashCode()
839 RuleBasedCollator *col2 = new RuleBasedCollator(ruleset2, success); in TestOperators() local
846 doAssert((*col1 != *col2), "The two different table collations compared equal"); in TestOperators()
847 *col1 = *col2; in TestOperators()
848 doAssert((*col1 == *col2), "Collator objects not equal after assignment (operator=)"); in TestOperators()
896 delete col2; in TestOperators()
916 Collator *col2 = col1->clone(); in TestDuplicate() local
917 doAssert((*col1 == *col2), "Cloned object is not equal to the orginal"); in TestDuplicate()
936 res = col2->compare(first, second, status); in TestDuplicate()
940 if (((RuleBasedCollator*)col2)->getRules() != copiedEnglishRules) { in TestDuplicate()
942 … + copiedEnglishRules + UnicodeString("\ngetRules=") + ((RuleBasedCollator*)col2)->getRules()); in TestDuplicate()
953 delete col2; in TestDuplicate()
2250 TestCollator col2; in TestSubclass() local
2251 doAssert(col1 != col2, "2 instances of TestCollator should be different"); in TestSubclass()
2252 if (col1.hashCode() != col2.hashCode()) { in TestSubclass()