Home
last modified time | relevance | path

Searched refs:ucalGetTypeTestPtr (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dccaltst.c111 const UCalGetTypeTest * ucalGetTypeTestPtr; in TestCalendar() local
459 …for (ucalGetTypeTestPtr = ucalGetTypeTests; ucalGetTypeTestPtr->expectedResult != NULL; ++ucalGetT… in TestCalendar()
460 …const char * localeToDisplay = (ucalGetTypeTestPtr->locale != NULL)? ucalGetTypeTestPtr->locale: "… in TestCalendar()
462 … caldef = ucal_open(NULL, 0, ucalGetTypeTestPtr->locale, ucalGetTypeTestPtr->calType, &status); in TestCalendar()
466 if ( uprv_strcmp( calType, ucalGetTypeTestPtr->expectedResult ) != 0 ) { in TestCalendar()
468ucalGetTypeTestPtr->calType, ucalGetTypeTestPtr->expectedResult); in TestCalendar()
471 …L: ucal_open %s type %d, then ucal_getType fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()
475 … log_err("FAIL: ucal_open %s type %d fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dccaltst.c110 const UCalGetTypeTest * ucalGetTypeTestPtr; in TestCalendar() local
458 …for (ucalGetTypeTestPtr = ucalGetTypeTests; ucalGetTypeTestPtr->expectedResult != NULL; ++ucalGetT… in TestCalendar()
459 …const char * localeToDisplay = (ucalGetTypeTestPtr->locale != NULL)? ucalGetTypeTestPtr->locale: "… in TestCalendar()
461 … caldef = ucal_open(NULL, 0, ucalGetTypeTestPtr->locale, ucalGetTypeTestPtr->calType, &status); in TestCalendar()
465 if ( uprv_strcmp( calType, ucalGetTypeTestPtr->expectedResult ) != 0 ) { in TestCalendar()
467ucalGetTypeTestPtr->calType, ucalGetTypeTestPtr->expectedResult); in TestCalendar()
470 …L: ucal_open %s type %d, then ucal_getType fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()
474 … log_err("FAIL: ucal_open %s type %d fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()