Home | History | Annotate | Download | only in intltest

Lines Matching refs:pattern

133                 dataerrln((UnicodeString)"FAIL: bad pattern " + OTHER_TOPATTERN_TESTS[j] + " - " + UnicodeString(u_errorName(ec)));
156 // Test pattern behavior of multicharacter strings.
197 if (U_FAILURE(ec)) errln("FAIL: pattern parse error");
225 // What we want to make sure of is that a pattern generated
320 // UCharCategory values; replaced with pattern constructors
852 // Pattern, Chars IN, Chars NOT in
1316 // Test the pattern API
1338 const char pattern[] =
1343 // pre-unescape the pattern. Since U+200E is rule whitespace,
1347 UnicodeString pat(pattern, -1, US_INV);
1351 // Pattern is only good for pass 1
1611 // Input pattern and expected output pattern
1656 logln((UnicodeString)"Test pattern " + i + " :" + UnicodeString(DATA[i], -1, US_INV));
1842 * That the iterator works, and that we can create a pattern and
1926 dataerrln((UnicodeString)"FAIL: pattern \"" +
1981 const UnicodeString& pattern,
1984 set.applyPattern(pattern, status);
1986 errln(UnicodeString("FAIL: applyPattern(\"") + pattern +
1991 pattern +
1996 logln(UnicodeString("Ok: applyPattern(\"") + pattern +
2008 errln(UnicodeString("FAIL: applyPattern(\""+ pattern + "\").toPattern() => " + temppattern + " => invalid pattern"));
2012 errln(UnicodeString("FAIL: applyPattern(\""+ pattern + "\").toPattern() => " + temppattern + " => pairs \""+ escape(getPairs(*tempset)) + "\", expected pairs \"" +
2015 logln(UnicodeString("Ok: applyPattern(\""+ pattern + "\").toPattern() => " + temppattern + " => pairs \"" + escape(getPairs(*tempset)) + "\""));
3420 // "[...]" is a UnicodeSet pattern.
3593 // Create new test sets from this pattern.
3711 static const char *pattern="[x{xy}{xya}{axy}{ax}]";
3722 UnicodeString pattern16=UnicodeString(pattern, -1, US_INV);
3725 errln("FAIL: Unable to create UnicodeSet(%s) - %s", pattern, u_errorName(errorCode));
3732 errln("FAIL: UnicodeSet(%s).containsAll(%s) should be FALSE", pattern, string);
3738 errln("FAIL: UnicodeSet(%s).containsAll(%s[:-4]) should be TRUE", pattern, string);
3751 errln("FAIL: UnicodeSet(%s).span(while not) returns the wrong value", pattern);
3754 pattern="[a{ab}{abc}{cd}]";
3755 pattern16=UnicodeString(pattern, -1, US_INV);
3758 errln("FAIL: Unable to create UnicodeSet(%s) - %s", pattern, u_errorName(errorCode));
3768 errln("FAIL: UnicodeSet(%s).span(while longest match) returns the wrong value", pattern);
3771 pattern="[d{cd}{bcd}{ab}]";
3772 pattern16=UnicodeString(pattern, -1, US_INV);
3775 errln("FAIL: Unable to create UnicodeSet(%s) - %s", pattern, u_errorName(errorCode));
3785 errln("FAIL: UnicodeSet(%s).spanBack(while longest match) returns the wrong value", pattern);