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__)
639 TEST_ASSERT_STRING("abc interior def", buf, TRUE);
646 TEST_ASSERT_STRING(" interior ", buf, TRUE);
665 TEST_ASSERT_STRING("abc i", buf, FALSE);
673 TEST_ASSERT_STRING("abc interior def", buf, FALSE);
696 TEST_ASSERT_STRING("345", resultString, TRUE);
831 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, TRUE);
839 TEST_ASSERT_STRING("No match here.", buf, TRUE);
848 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, FALSE);
859 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, FALSE);
874 TEST_ASSERT_STRING("Replace <aa> x1x x...x", buf, FALSE);
914 TEST_ASSERT_STRING(expectedResult, buf, TRUE);
922 TEST_ASSERT_STRING("No match here.", buf, TRUE);
931 TEST_ASSERT_STRING(expectedResult, buf, FALSE);
942 TEST_ASSERT_STRING("Replace <aa> <1> <...>.", buf, FALSE);
962 TEST_ASSERT_STRING(expected, buf, FALSE);
979 TEST_ASSERT_STRING(expected, buf, FALSE);
1015 TEST_ASSERT_STRING("some other", buf, TRUE);
1025 TEST_ASSERT_STRING("abcAB \\ $ abc", buf, TRUE);
1079 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1080 TEST_ASSERT_STRING(" second", fields[1], TRUE);
1081 TEST_ASSERT_STRING(" third", fields[2], TRUE);
1111 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1112 TEST_ASSERT_STRING(" second: third", fields[1], TRUE);
1133 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1134 TEST_ASSERT_STRING(" second", fields[1], TRUE);
1135 TEST_ASSERT_STRING(" third", fields[2], TRUE);
1181 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1182 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1183 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1184 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1185 TEST_ASSERT_STRING(" third", fields[4], TRUE);
1202 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1203 TEST_ASSERT_STRING(" second<tag-b> third", fields[1], TRUE);
1220 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1221 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1222 TEST_ASSERT_STRING(" second<tag-b> third", fields[2], TRUE);
1239 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1240 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1241 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1242 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1243 TEST_ASSERT_STRING(" third", fields[4], TRUE);
1266 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1267 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1268 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1269 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1270 TEST_ASSERT_STRING("", fields[4], TRUE);
1390 TEST_ASSERT_STRING("The qui", destFields[0], TRUE);
1391 TEST_ASSERT_STRING("brown fox jumped over the slow bla", destFields[1], TRUE);
1392 TEST_ASSERT_STRING("turtle.", destFields[2], TRUE);
1939 TEST_ASSERT_STRING("some other", buf, TRUE);
1949 TEST_ASSERT_STRING("abcAB \\ $ abc", buf, TRUE);