Home | History | Annotate | Download | only in cintltst

Lines Matching full:test_assert_string

71 static void test_assert_string(const char *expected, const UChar *actual, UBool nulTerm, const char *file, int line) {
90 #define TEST_ASSERT_STRING(expected, actual, nulTerm) test_assert_string(expected, actual, nulTerm, __FILE__, __LINE__)
602 TEST_ASSERT_STRING("abc interior def", buf, TRUE);
609 TEST_ASSERT_STRING(" interior ", buf, TRUE);
628 TEST_ASSERT_STRING("abc i", buf, FALSE);
636 TEST_ASSERT_STRING("abc interior def", buf, FALSE);
659 TEST_ASSERT_STRING("345", resultString, TRUE);
794 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, TRUE);
802 TEST_ASSERT_STRING("No match here.", buf, TRUE);
811 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, FALSE);
822 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, FALSE);
837 TEST_ASSERT_STRING("Replace <aa> x1x x...x", buf, FALSE);
877 TEST_ASSERT_STRING(expectedResult, buf, TRUE);
885 TEST_ASSERT_STRING("No match here.", buf, TRUE);
894 TEST_ASSERT_STRING(expectedResult, buf, FALSE);
905 TEST_ASSERT_STRING("Replace <aa> <1> <...>.", buf, FALSE);
925 TEST_ASSERT_STRING(expected, buf, FALSE);
942 TEST_ASSERT_STRING(expected, buf, FALSE);
978 TEST_ASSERT_STRING("some other", buf, TRUE);
988 TEST_ASSERT_STRING("abcAB \\ $ abc", buf, TRUE);
1042 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1043 TEST_ASSERT_STRING(" second", fields[1], TRUE);
1044 TEST_ASSERT_STRING(" third", fields[2], TRUE);
1074 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1075 TEST_ASSERT_STRING(" second: third", fields[1], TRUE);
1096 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1097 TEST_ASSERT_STRING(" second", fields[1], TRUE);
1098 TEST_ASSERT_STRING(" third", fields[2], TRUE);
1144 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1145 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1146 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1147 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1148 TEST_ASSERT_STRING(" third", fields[4], TRUE);
1165 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1166 TEST_ASSERT_STRING(" second<tag-b> third", fields[1], TRUE);
1183 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1184 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1185 TEST_ASSERT_STRING(" second<tag-b> third", fields[2], TRUE);
1202 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1203 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1204 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1205 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1206 TEST_ASSERT_STRING(" third", fields[4], TRUE);
1229 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1230 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1231 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1232 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1233 TEST_ASSERT_STRING("", fields[4], TRUE);
1353 TEST_ASSERT_STRING("The qui", destFields[0], TRUE);
1354 TEST_ASSERT_STRING("brown fox jumped over the slow bla", destFields[1], TRUE);
1355 TEST_ASSERT_STRING("turtle.", destFields[2], TRUE);
1902 TEST_ASSERT_STRING("some other", buf, TRUE);
1912 TEST_ASSERT_STRING("abcAB \\ $ abc", buf, TRUE);