Home | History | Annotate | Download | only in cintltst

Lines Matching defs:testStruct

1415   } testStruct[] = {
1423 for(i = 0; i<sizeof(testStruct)/sizeof(testStruct[0]); i++) {
1425 coll = ucol_open(testStruct[i].requestedLocale, &status);
1427 log_err_status(status, "Failed to open collator for %s with %s\n", testStruct[i].requestedLocale, u_errorName(status));
1432 if(strcmp(locale, testStruct[i].requestedLocale) != 0) {
1433 log_err("[Coll %s]: Error in requested locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].requestedLocale, locale);
1436 if(strcmp(locale, testStruct[i].validLocale) != 0) {
1437 log_err("[Coll %s]: Error in valid locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].validLocale, locale);
1440 if(strcmp(locale, testStruct[i].actualLocale) != 0) {
1441 log_err("[Coll %s]: Error in actual locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].actualLocale, locale);
1510 struct teststruct {
1516 return(strcmp((const char *)((struct teststruct *)string1)->key, (const char *)((struct teststruct *)string2)->key));
1538 struct teststruct tests[] = {
1610 qsort(tests, arraySize, sizeof(struct teststruct), compare_teststruct);