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