Searched defs:expected_string (Results 1 - 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
H A Dcrestst.c252 UChar* expected_string = NULL; local
381 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 3));
382 u_strcpy(expected_string,base);
387 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1));
388 u_strcpy(expected_string,kERROR);
392 CONFIRM_EQ(string, expected_string);
394 free(expected_string);
H A Dcreststn.c1594 UChar* expected_string = NULL; local
1711 expected_string=(UChar*)malloc(sizeof(UChar)*(u_strlen(base) + 4));
1712 u_strcpy(expected_string,base);
1713 CONFIRM_INT_EQ(len, u_strlen(expected_string));
1715 expected_string = (UChar*)malloc(sizeof(UChar)*(u_strlen(kERROR) + 1));
1716 u_strcpy(expected_string,kERROR);
1722 CONFIRM_EQ(string, expected_string);
1750 u_strcpy(expected_string, base);
1752 u_strcat(expected_string, element);
1755 CONFIRM_EQ(tres_getString(arrayItem1, -1, NULL, &len, &status),expected_string);
[all...]

Completed in 71 milliseconds