Home | History | Annotate | Download | only in intltest

Lines Matching refs:col3

295     RuleBasedCollator *col1, *col2, *col3, *col4;
322 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status);
330 delete col3;
333 col3 = (RuleBasedCollator *)Collator::createInstance(status);
344 UnicodeString rule3 = col3->getRules();
371 delete col3;
502 Collator *col3 = 0;
503 col3 = Collator::createInstance(Locale::getEnglish(), success);
514 doAssert(col1->hashCode() == col3->hashCode(), "Hash result not equal" );
526 col3->getCollationKey(test1, sortk1, status);
527 col3->getCollationKey(test2, sortk2, status);
528 col3->getCollationKey(test2, sortk3, status);
533 delete col3;
866 Collator *col3 = Collator::createInstance(Locale::getEnglish(), success);
871 doAssert((*col1 != *col3), "The two different table collations compared equal");
873 Collator* col5 = col3->clone();
875 doAssert((*col3 != *col4), "Two different table collations compared equal");
876 doAssert((*col3 == *col5), "Cloned collation objects not equal");
879 const UnicodeString& defRules = ((RuleBasedCollator*)col3)->getRules();
885 doAssert((((RuleBasedCollator*)col3)->getRules() == col6->getRules()), "Default collator getRules failed");
912 delete col3;
934 RuleBasedCollator *col3 = new RuleBasedCollator(*ruleset, status);
935 doAssert((*col1 != *col3), "Cloned object is equal to some dummy");
936 *col3 = *((RuleBasedCollator*)col1);
937 doAssert((*col1 == *col3), "Copied object is not equal to the orginal");
961 res = col3->compare(first, second, status);
965 if (col3->getRules() != copiedEnglishRules) {
967 + copiedEnglishRules + UnicodeString("\ngetRules=") + col3->getRules());
971 delete col3;
2175 TestCollator col3