Home | History | Annotate | Download | only in cintltst

Lines Matching full:actual

71 static void test_assert_string(const char *expected, const UChar *actual, UBool nulTerm, const char *file, int line) {
76 u_austrncpy(buf_inside_macro, (actual), len+1);
80 u_austrncpy(buf_inside_macro, (actual), len);
90 #define TEST_ASSERT_STRING(expected, actual, nulTerm) test_assert_string(expected, actual, nulTerm, __FILE__, __LINE__)
114 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) {
115 utext_setNativeIndex(actual, 0);
116 if (!equals_utf8_utext(expected, actual)) {
119 c = utext_next32From(actual, 0);
126 c = UTEXT_NEXT32(actual);
133 * TEST_ASSERT_UTEXT(const char *expected, const UText *actual)
136 #define TEST_ASSERT_UTEXT(expected, actual) test_assert_utext(expected, actual, __FILE__, __LINE__)
1757 UText *actual;
1776 actual = uregex_groupUTextDeep(re, 0, NULL, &status);
1778 TEST_ASSERT_UTEXT(str_abcinteriordef, actual);
1779 utext_close(actual);
1791 actual = uregex_groupUText(re, 0, NULL, &group_len, &status);
1794 nativeIndex = utext_getNativeIndex(actual);
1796 /* len16 = utext_extract(actual, nativeIndex, nativeIndex + group_len, NULL, 0, &shallowStatus); */
1800 utext_extract(actual, nativeIndex, nativeIndex + group_len, groupChars, len16+1, &shallowStatus);
1808 utext_close(actual);
1812 actual = uregex_groupUTextDeep(re, 1, NULL, &status);
1814 TEST_ASSERT_UTEXT(str_interior, actual);
1815 utext_close(actual);
1819 actual = uregex_groupUTextDeep(re, 2, NULL, &status);
1821 TEST_ASSERT(utext_nativeLength(actual) == 0);
1822 utext_close(actual);