Lines Matching defs:CASE
24 #define CASE(id,test) case id: \
38 CASE(0,TestDecomp);
39 CASE(1,TestCompatDecomp);
40 CASE(2,TestCanonCompose);
41 CASE(3,TestCompatCompose);
42 CASE(4,TestPrevious);
43 CASE(5,TestHangulDecomp);
44 CASE(6,TestHangulCompose);
45 CASE(7,TestTibetan);
46 CASE(8,TestCompositionExclusion);
47 CASE(9,TestZeroIndex);
48 CASE(10,TestVerisign);
49 CASE(11,TestPreviousNext);
50 CASE(12,TestNormalizerAPI);
51 CASE(13,TestConcatenate);
52 CASE(14,FindFoldFCDExceptions);
53 CASE(15,TestCompare);
54 CASE(16,TestSkippable);
56 CASE(17,TestCustomComp);
57 CASE(18,TestCustomFCC);
59 CASE(19,TestFilteredNormalizer2Coverage);
339 * map to the same canonical class, which is not the case, in
543 dataerrln(UnicodeString("ERROR: case ") + i + " normalized " + hex(input) + "\n"
562 assertEqual(input, expect, iter, UnicodeString("ERROR: case ") + i + " ");
808 case 'C': mode=UNORM_NFC; break;
809 case 'D': mode=UNORM_NFD; break;
810 case 'c': mode=UNORM_NFKC; break;
811 case 'd': mode=UNORM_NFKD; break;
962 // from ICU case folding tests
990 // equivalent if case-insensitive
1019 // case-folds or decomposes first
1059 { U_COMPARE_IGNORE_CASE, "ignore case" },
1060 { U_COMPARE_CODE_POINT_ORDER|U_COMPARE_IGNORE_CASE, "c.p. order & ignore case" },
1061 { U_COMPARE_IGNORE_CASE|U_FOLD_CASE_EXCLUDE_SPECIAL_I, "ignore case & special i" },
1062 { U_COMPARE_CODE_POINT_ORDER|U_COMPARE_IGNORE_CASE|U_FOLD_CASE_EXCLUDE_SPECIAL_I, "c.p. order & ignore case & special i" },
1179 // verify that case-folding does not un-FCD strings
1191 logln("Test if case folding may un-FCD a string (folding options %04lx)", foldingOptions);
1201 c=0xd7a3; // skip Hangul - no case folding there
1204 // skip Han blocks - no case folding there either
1226 // get leading and trailing cc for the case-folding of c
1248 dataerrln("U+%04lx: case-folding may un-FCD a string (folding options %04lx)", c, foldingOptions);
1254 // if a code point is in NFD but its case folding is not, then
1258 errln("U+%04lx: case-folding un-NFDs this character (folding options %04lx)", c, foldingOptions);
1262 logln("There are %ld code points for which case-folding may un-FCD a string (folding options %04lx)", count, foldingOptions);
1274 * If case-folding un-FCDs any strings, then unorm_compare() must be
1276 * It currently assumes that one can check for FCD then case-fold
1279 dataerrln("error: There are %ld code points for which case-folding may un-FCD a string for all folding options.\n"