Home | History | Annotate | Download | only in cintltst

Lines Matching refs:testStruct

1342   } testStruct[] = {
1350 for(i = 0; i<sizeof(testStruct)/sizeof(testStruct[0]); i++) {
1352 coll = ucol_open(testStruct[i].requestedLocale, &status);
1354 log_err_status(status, "Failed to open collator for %s with %s\n", testStruct[i].requestedLocale, u_errorName(status));
1359 if(strcmp(locale, testStruct[i].requestedLocale) != 0) {
1360 log_err("[Coll %s]: Error in requested locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].requestedLocale, locale);
1363 if(strcmp(locale, testStruct[i].validLocale) != 0) {
1364 log_err("[Coll %s]: Error in valid locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].validLocale, locale);
1367 if(strcmp(locale, testStruct[i].actualLocale) != 0) {
1368 log_err("[Coll %s]: Error in actual locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].actualLocale, locale);
1437 struct teststruct {
1443 return(strcmp((const char *)((struct teststruct *)string1)->key, (const char *)((struct teststruct *)string2)->key));
1465 struct teststruct tests[] = {
1537 qsort(tests, arraySize, sizeof(struct teststruct), compare_teststruct);