Home | History | Annotate | Download | only in intltest

Lines Matching full:col1

248     RuleBasedCollator *col1, *col2, *col3, *col4;
254 col1 = new RuleBasedCollator(ruleset1, status);
295 UnicodeString rule1 = col1->getRules();
322 delete col1;
438 Collator *col1 = 0;
439 col1 = Collator::createInstance(Locale::getEnglish(), success);
465 doAssert(col1->hashCode() != col2->hashCode(), "Hash test1 result incorrect" );
466 doAssert(!(col1->hashCode() == col2->hashCode()), "Hash test2 result incorrect" );
467 doAssert(col1->hashCode() == col3->hashCode(), "Hash result not equal" );
470 delete col1;
827 RuleBasedCollator *col1 = new RuleBasedCollator(ruleset1, success);
840 doAssert((*col1 != *col2), "The two different table collations compared equal");
841 *col1 = *col2;
842 doAssert((*col1 == *col2), "Collator objects not equal after assignment (operator=)");
850 doAssert((*col1 != *col3), "The two different table collations compared equal");
851 Collator* col4 = col1->clone();
853 doAssert((*col1 == *col4), "Cloned collation objects not equal");
889 delete col1;
905 Collator *col1 = Collator::createInstance(Locale::getEnglish(), status);
910 Collator *col2 = col1->clone();
911 doAssert((*col1 == *col2), "Cloned object is not equal to the orginal");
918 doAssert((*col1 != *col3), "Cloned object is equal to some dummy");
919 *col3 = *((RuleBasedCollator*)col1);
920 doAssert((*col1 == *col3), "Copied object is not equal to the orginal");
925 UnicodeString copiedEnglishRules(((RuleBasedCollator*)col1)->getRules());
927 delete col1;
2233 TestCollator col1;
2235 doAssert(col1 != col2, "2 instances of TestCollator should be different");
2236 if (col1.hashCode() != col2.hashCode()) {
2241 if (col1.compare(abc, bcd) != abc.compare(bcd)) {
2247 col1.getCollationKey(abc, key, status);
2256 UnicodeSet *defaultset = col1.getTailoredSet(status);
2266 col1.setLocales(loc1, loc2, loc2); // default implementation has no effect
2269 col1.getDisplayName(loc1, loc2, displayName); // de_DE collator in fr_FR locale
2275 if(col1.compare(a, b) != result) {
2278 if(col1.compare(a, b, 1) != result) {
2281 if(col1.compare(a.getBuffer(), a.length(), b.getBuffer(), b.length()) != result) {