Searched refs:compareToChar (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | uenumtst.c | 302 static void verifyEnumeration(int line, UEnumeration *u, const char * const * compareToChar, const … in verifyEnumeration() argument 328 if(compareToChar!=NULL) { /* else, not invariant */ in verifyEnumeration() 340 if(strcmp(c,compareToChar[i])) { in verifyEnumeration() 341 …og_err("%s:%d: FAIL: string #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], c); in verifyEnumeration() 346 if(len!=strlen(compareToChar[i])) { in verifyEnumeration() 347 …:%d: FAIL: string #%d expected len %d got %d\n", __FILE__, line, i, strlen(compareToChar[i]), len); in verifyEnumeration() 371 if(compareToChar!=NULL) { in verifyEnumeration() 372 u_charsToUChars(compareToChar[i], buf, strlen(compareToChar[i])+1); in verifyEnumeration() 375 …s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], austrdup(u… in verifyEnumeration() 380 log_verbose("%s:%d: OK: ustring #%d got '%s'\n", __FILE__, line, i, compareToChar[i]); in verifyEnumeration() [all …]
|