Lines Matching refs:getRules
204 doAssert(rcol->getRules().length() != 0, "da_DK rules does not have length 0");
249 doAssert(((RuleBasedCollator *)col)->getRules() == ((RuleBasedCollator *)junk)->getRules(),
344 UnicodeString rule1 = col1->getRules();
345 UnicodeString rule2 = col2->getRules();
346 UnicodeString rule3 = col3->getRules();
348 doAssert(rule1 != rule2, "Default collator getRules failed");
349 doAssert(rule2 != rule3, "Default collator getRules failed");
350 doAssert(rule1 != rule3, "Default collator getRules failed");
358 UnicodeString rule4 = col4->getRules();
359 doAssert(rule2 == rule4, "Default collator getRules failed");
393 coll->getRules(UCOL_TAILORING_ONLY, rules);
398 coll->getRules(UCOL_FULL_RULES, rules);
843 // Test RuleBasedCollator ctor, dtor, operator==, operator!=, clone, copy, and getRules
881 const UnicodeString& defRules = ((RuleBasedCollator*)col3)->getRules();
887 doAssert((((RuleBasedCollator*)col3)->getRules() == col6->getRules()), "Default collator getRules failed");
949 UnicodeString copiedEnglishRules(((RuleBasedCollator*)col1)->getRules());
959 if (((RuleBasedCollator*)col2)->getRules() != copiedEnglishRules) {
961 + copiedEnglishRules + UnicodeString("\ngetRules=") + ((RuleBasedCollator*)col2)->getRules());
967 if (col3->getRules() != copiedEnglishRules) {
969 + copiedEnglishRules + UnicodeString("\ngetRules=") + col3->getRules());