Home | History | Annotate | Download | only in intltest

Lines Matching refs:col1

288     RuleBasedCollator *col1, *col2, *col3, *col4;
294 col1 = new RuleBasedCollator(ruleset1, status);
335 UnicodeString rule1 = col1->getRules();
362 delete col1;
478 Collator *col1 = 0;
479 col1 = Collator::createInstance(Locale::getEnglish(), success);
505 doAssert(col1->hashCode() != col2->hashCode(), "Hash test1 result incorrect" );
506 doAssert(!(col1->hashCode() == col2->hashCode()), "Hash test2 result incorrect" );
507 doAssert(col1->hashCode() == col3->hashCode(), "Hash result not equal" );
510 delete col1;
841 RuleBasedCollator *col1 = new RuleBasedCollator(ruleset1, success);
854 doAssert((*col1 != *col2), "The two different table collations compared equal");
855 *col1 = *col2;
856 doAssert((*col1 == *col2), "Collator objects not equal after assignment (operator=)");
864 doAssert((*col1 != *col3), "The two different table collations compared equal");
865 Collator* col4 = col1->clone();
867 doAssert((*col1 == *col4), "Cloned collation objects not equal");
903 delete col1;
919 Collator *col1 = Collator::createInstance(Locale::getEnglish(), status);
924 Collator *col2 = col1->clone();
925 doAssert((*col1 == *col2), "Cloned object is not equal to the orginal");
928 doAssert((*col1 != *col3), "Cloned object is equal to some dummy");
929 *col3 = *((RuleBasedCollator*)col1);
930 doAssert((*col1 == *col3), "Copied object is not equal to the orginal");
940 UnicodeString copiedEnglishRules(((RuleBasedCollator*)col1)->getRules());
942 delete col1;
2132 TestCollator col1;
2134 doAssert(col1 != col2, "2 instance of TestCollator should be different");
2135 if (col1.hashCode() != col2.hashCode()) {
2140 if (col1.compare(abc, bcd) != abc.compare(bcd)) {
2146 col1.getCollationKey(abc, key, status);
2155 UnicodeSet *defaultset = col1.getTailoredSet(status);
2165 col1.setLocales(loc1, loc2, loc2); // default implementation has no effect
2168 col1.getDisplayName(loc1, loc2, displayName); // de_DE collator in fr_FR locale
2174 if(col1.compare(a, b) != result) {
2177 if(col1.compare(a, b, 1) != result) {
2180 if(col1.compare(a.getBuffer(), a.length(), b.getBuffer(), b.length()) != result) {