Home | History | Annotate | Download | only in intltest

Lines Matching refs:pattern

203     // ======= Test PluralRules pattern syntax.
204 logln("Testing PluralRules pattern syntax.");
215 errln("ERROR: PluralFormat failed to detect syntax error with pattern: "+checkSyntaxtData[i]);
221 // ======= Test applying various pattern
227 UnicodeString message=UnicodeString("ERROR: PluralFormat tests various pattern ...");
240 errln("ERROR: PluralFormat failed to apply pattern- "+patternTestData[i]);
265 message = UNICODE_STRING_SIMPLE("Error set locale: pattern is not reset!");
267 // Check that pattern gets deleted.
531 dataerrln("Failed to apply pattern to fr locale - %s", u_errorName(status));
572 dataerrln("Failed to apply pattern - %s", u_errorName(status));
631 UnicodeString pattern("one{#st file}two{#nd file}few{#rd file}other{#th file}");
632 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode);
633 if (errorCode.logDataIfFailureAndReset("PluralFormat(en, UPLURAL_TYPE_ORDINAL, pattern) failed")) {
654 pf2.applyPattern(pattern, errorCode);
655 if (errorCode.logIfFailureAndReset("PluralFormat(en, UPLURAL_TYPE_ORDINAL, pattern) failed")) {
761 dataerrln("Failed to apply pattern to locale:"+UnicodeString(localeArray[i]) + " - " + u_errorName(status));