Home | History | Annotate | Download | only in cintltst

Lines Matching refs:test_assert_string

67 static void test_assert_string(const char *expected, const UChar *actual, UBool nulTerm, const char *file, int line) {
86 #define TEST_ASSERT_STRING(expected, actual, nulTerm) test_assert_string(expected, actual, nulTerm, __FILE__, __LINE__)
563 TEST_ASSERT_STRING("abc interior def", buf, TRUE);
570 TEST_ASSERT_STRING(" interior ", buf, TRUE);
589 TEST_ASSERT_STRING("abc i", buf, FALSE);
597 TEST_ASSERT_STRING("abc interior def", buf, FALSE);
620 TEST_ASSERT_STRING("345", resultString, TRUE);
755 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, TRUE);
763 TEST_ASSERT_STRING("No match here.", buf, TRUE);
772 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, FALSE);
783 TEST_ASSERT_STRING("Replace <aa> x1x x...x.", buf, FALSE);
798 TEST_ASSERT_STRING("Replace <aa> x1x x...x", buf, FALSE);
838 TEST_ASSERT_STRING(expectedResult, buf, TRUE);
846 TEST_ASSERT_STRING("No match here.", buf, TRUE);
855 TEST_ASSERT_STRING(expectedResult, buf, FALSE);
866 TEST_ASSERT_STRING("Replace <aa> <1> <...>.", buf, FALSE);
886 TEST_ASSERT_STRING(expected, buf, FALSE);
903 TEST_ASSERT_STRING(expected, buf, FALSE);
939 TEST_ASSERT_STRING("some other", buf, TRUE);
949 TEST_ASSERT_STRING("abcAB \\ $ abc", buf, TRUE);
1003 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1004 TEST_ASSERT_STRING(" second", fields[1], TRUE);
1005 TEST_ASSERT_STRING(" third", fields[2], TRUE);
1035 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1036 TEST_ASSERT_STRING(" second: third", fields[1], TRUE);
1057 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1058 TEST_ASSERT_STRING(" second", fields[1], TRUE);
1059 TEST_ASSERT_STRING(" third", fields[2], TRUE);
1105 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1106 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1107 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1108 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1109 TEST_ASSERT_STRING(" third", fields[4], TRUE);
1126 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1127 TEST_ASSERT_STRING(" second<tag-b> third", fields[1], TRUE);
1144 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1145 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1146 TEST_ASSERT_STRING(" second<tag-b> third", fields[2], TRUE);
1163 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1164 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1165 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1166 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1167 TEST_ASSERT_STRING(" third", fields[4], TRUE);
1190 TEST_ASSERT_STRING("first ", fields[0], TRUE);
1191 TEST_ASSERT_STRING("tag-a", fields[1], TRUE);
1192 TEST_ASSERT_STRING(" second", fields[2], TRUE);
1193 TEST_ASSERT_STRING("tag-b", fields[3], TRUE);
1313 TEST_ASSERT_STRING("The qui", destFields[0], TRUE);
1314 TEST_ASSERT_STRING("brown fox jumped over the slow bla", destFields[1], TRUE);
1315 TEST_ASSERT_STRING("turtle.", destFields[2], TRUE);