• Home
  • Raw
  • Download

Lines Matching refs:log_err

128log_err("FAIL: error in the ucal_countAvailableTZIDs - got %d expected at least 5 total\n", count);  in TestCalendar()
135 log_err("FAIL: ucal_getAvailableTZIDs returned %s\n", u_errorName(status)); in TestCalendar()
142log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(stat… in TestCalendar()
190 log_err("FAIL: uenum_reset for %s returned %s\n", in TestCalendar()
196 log_err("FAIL: uenum_next for %s returned %s\n", in TestCalendar()
205 log_err("FAIL: uenum_next for %s returned %s, expected NULL\n", in TestCalendar()
216 log_err("FAIL: ucal_getDSTSavings(GMT) => %s\n", in TestCalendar()
223 log_err("FAIL: ucal_getDSTSavings(PST) => %s\n", in TestCalendar()
226 log_err("FAIL: ucal_getDSTSavings(PST) => %d, expect %d\n", i, 1*60*60*1000); in TestCalendar()
233 log_err("FAIL: ucal_getDefaultTimeZone() => %s\n", in TestCalendar()
238 log_err("FAIL: ucal_setDefaultTimeZone(Europe/Paris) => %s\n", in TestCalendar()
243 log_err("FAIL: ucal_getDefaultTimeZone() => %s\n", in TestCalendar()
261 log_err("FAIL: Bad version string was returned by ucal_getTZDataVersion\n"); in TestCalendar()
366 log_err("FAIL: Error in getting the timezone display name : %s\n", u_errorName(status)); in TestCalendar()
382log_err("FAIL: got the wrong time zone(DST) display name %s, wanted %s\n", austrdup(result) , expe… in TestCalendar()
388log_err("FAIL: got the wrong time zone(SHORT_DST) display name %s, wanted %s\n", austrdup(result),… in TestCalendar()
394log_err("FAIL: got the wrong time zone(STANDARD) display name %s, wanted %s\n", austrdup(result), … in TestCalendar()
400log_err("FAIL: got the wrong time zone(SHORT_STANDARD) display name %s, wanted %s\n", austrdup(res… in TestCalendar()
412 log_err("FAIL: there is an error in getAttributes or setAttributes\n"); in TestCalendar()
419 log_err("FAIL: Error in setting the attribute back to normal\n"); in TestCalendar()
426 log_err("FAIL: set/getFirstDayOfWeek failed\n"); in TestCalendar()
431 log_err("FAIL: get/bogus attribute should return -1\n"); in TestCalendar()
441 log_err("FAIL: set/getMinimalDaysInFirstWeek failed\n"); in TestCalendar()
452 log_err("Error in ucal_inDaylightTime: %s\n", u_errorName(status)); in TestCalendar()
457 log_err("FAIL: It is not in daylight saving's time\n"); in TestCalendar()
475log_err("FAIL: ucal_open %s type %d does not return %s calendar\n", localeToDisplay, in TestCalendar()
479log_err("FAIL: ucal_open %s type %d, then ucal_getType fails\n", localeToDisplay, ucalGetTypeTestP… in TestCalendar()
483log_err("FAIL: ucal_open %s type %d fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()
533 log_err("Error in getMillis : %s\n", u_errorName(status)); in TestGetSetDateAPI()
540 log_err("Error in setMillis : %s\n", u_errorName(status)); in TestGetSetDateAPI()
546 log_err("error in setMillis or getMillis\n"); in TestGetSetDateAPI()
561log_err("Fail: setMillis incorrectly detected invalid value : for millis : %e : returned : %s\n",… in TestGetSetDateAPI()
571log_err("Fail: setMillis incorrectly detected invalid value : for millis : %e : returned : %s\n",… in TestGetSetDateAPI()
577log_err("Fail: error in setMillis, allowed invalid value %e : returns millisecond : %d", testMilli… in TestGetSetDateAPI()
593log_err("Fail: error in setMillis, allowed invalid value %e : returns DayOfMonth : %d", testMillis… in TestGetSetDateAPI()
605 log_err("Error in getTimeZoneID : %s\n", u_errorName(status)); in TestGetSetDateAPI()
607log_err("FAIL: getTimeZoneID returns a wrong ID: actual=%d, expected=%s\n", austrdup(id), austrdup… in TestGetSetDateAPI()
614 log_err("Error in getMillis : %s\n", u_errorName(status)); in TestGetSetDateAPI()
621log_err("Error in setting the time zone using ucal_setTimeZone(): %s\n", u_errorName(status)); in TestGetSetDateAPI()
628 log_err("Error in getTimeZoneID : %s\n", u_errorName(status)); in TestGetSetDateAPI()
630log_err("FAIL: getTimeZoneID returns a wrong ID: actual=%d, expected=%s\n", austrdup(id), austrdup… in TestGetSetDateAPI()
636 log_err("FAIL: Error setting the time zone doesn't change the represented time\n"); in TestGetSetDateAPI()
638log_err("FAIL: Error setTimeZone doesn't change the represented time correctly with 8 hour offset\… in TestGetSetDateAPI()
647log_err("Error in setting the time zone using ucal_setTimeZone(): %s\n", u_errorName(status)); in TestGetSetDateAPI()
652 log_err("FAIL: setTimeZone roundtrip test failed\n"); in TestGetSetDateAPI()
656log_err("Error in getting the time zone using ucal_get() after using ucal_setTimeZone(): %s\n", u_… in TestGetSetDateAPI()
659log_err("Error in getting the time zone using ucal_get() after using ucal_setTimeZone() offset=%d\… in TestGetSetDateAPI()
664log_err("Error in setting the time zone using ucal_setTimeZone(): %s\n", u_errorName(status)); in TestGetSetDateAPI()
669 log_err("FAIL: setTimeZone roundtrip test failed\n"); in TestGetSetDateAPI()
673log_err("Error in getting the time zone using ucal_get() after using ucal_setTimeZone(): %s\n", u_… in TestGetSetDateAPI()
676log_err("Error in getting the time zone using ucal_get() after using ucal_setTimeZone() offset=%d\… in TestGetSetDateAPI()
690 log_err("error in setting the calendar date : %s\n", u_errorName(status)); in TestGetSetDateAPI()
697 log_err("FAIL:Error in setDate()\n"); in TestGetSetDateAPI()
721 log_err("error in setting the calendar date : %s\n", u_errorName(status)); in TestGetSetDateAPI()
728 log_err("FAIL: Error in setDateTime\n"); in TestGetSetDateAPI()
793 log_err("FAIL: error in ucal_get()\n"); in TestFieldGetSet()
826log_err("FAIL: U_ILLEGAL_ARGUMENT_ERROR was not returned for : 1997 zero-th Tuesday in June\n"); in TestFieldGetSet()
852log_err("FAIL: U_ILLEGAL_ARGUMENT_ERROR was not returned for : 1997 Tuesday zero-th week in June\n… in TestFieldGetSet()
874 log_err("FAIL: U_ILLEGAL_ARGUMENT_ERROR was not returned for : 1999 -3th month\n"); in TestFieldGetSet()
887 log_err("FAIL: error in isSet\n"); in TestFieldGetSet()
892 log_err("FAIL: there is an error in clearField or isSet\n"); in TestFieldGetSet()
951 if (U_FAILURE(status)) { log_err("ucal_add failed: %s\n", u_errorName(status)); return; } in TestAddRollExtensive()
955 if (U_FAILURE(status)) { log_err("ucal_add failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
959 if (U_FAILURE(status)) { log_err("ucal_add failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
963 if (U_FAILURE(status)) { log_err("ucal_add failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
967 if (U_FAILURE(status)) { log_err("ucal_add failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
974 log_err("Fail: No, illegal argument error as expected. Got....: %s\n", u_errorName(status)); in TestAddRollExtensive()
982 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
986 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
990 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
994 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
997 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
1001 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; } in TestAddRollExtensive()
1008 log_err("Fail: no illegal argument error got..: %s\n", u_errorName(status)); in TestAddRollExtensive()
1015 log_err("error is setting the datetime: %s\n", u_errorName(status)); in TestAddRollExtensive()
1030 log_err("ucal_open failed: %s\n", u_errorName(status)); in TestAddRollExtensive()
1054 log_err("ucal_add -1 failed: %s\n", u_errorName(status)); in TestAddRollExtensive()
1074 log_err("ucal_roll -1 failed: %s\n", u_errorName(status)); in TestAddRollExtensive()
1089 log_err("ucal_open failed for zone %s: %s\n", itemPtr->zone, u_errorName(status)); in TestAddRollExtensive()
1096log_err("ucal_add failed adding day across transition for zone %s: %s\n", itemPtr->zone, u_errorNa… in TestAddRollExtensive()
1098log_err("ucal_add produced wrong hour %d when adding day across transition for zone %s\n", hr, ite… in TestAddRollExtensive()
1103log_err("ucal_add failed subtracting day across transition for zone %s: %s\n", itemPtr->zone, u_er… in TestAddRollExtensive()
1105log_err("ucal_add produced wrong hour %d when subtracting day across transition for zone %s\n", hr… in TestAddRollExtensive()
1139 log_err("FAIL: Min/max bad\n"); in TestGetLimits()
1140 log_err("FAIL: Day of week %d out of range\n", val); in TestGetLimits()
1141 log_err("FAIL: FAIL: Day of week should be SUNDAY Got %d\n", val); in TestGetLimits()
1150 log_err("FAIL: Min/max bad\n"); in TestGetLimits()
1151 log_err("FAIL: Day of week in month %d out of range\n", val); in TestGetLimits()
1152 log_err("FAIL: FAIL: Day of week in month should be SUNDAY Got %d\n", val); in TestGetLimits()
1165 log_err("Error in getLimits: %s\n", u_errorName(status)); in TestGetLimits()
1168 log_err("There is and error in getLimits in fetching the values\n"); in TestGetLimits()
1183 log_err("FAIL: Min/max bad\n"); in TestGetLimits()
1184 log_err("FAIL: Hour of Day %d out of range\n", val); in TestGetLimits()
1185 log_err("FAIL: HOUR_OF_DAY should be 4 Got %d\n", val); in TestGetLimits()
1194 log_err("FAIL: ucal_getLimit() with BOGUS type should return -1\n"); in TestGetLimits()
1245 … if(U_FAILURE(status)){ log_err("ucal_getMiilis() failed: %s\n", u_errorName(status)); return;} in TestDOWProgression()
1249 if (U_FAILURE(status)) { log_err("ucal_add() failed: %s\n", u_errorName(status)); return; } in TestDOWProgression()
1252 if (U_FAILURE(status)) { log_err("ucal_get() failed: %s\n", u_errorName(status)); return; } in TestDOWProgression()
1255 … if(U_FAILURE(status)){ log_err("ucal_getMiilis() failed: %s\n", u_errorName(status)); return;} in TestDOWProgression()
1257 log_err("Day of week should be %d instead of %d on %s", expectedDOW, newDOW, in TestDOWProgression()
1303 log_err("ucal_open failed: %s\n", u_errorName(status)); in testZones()
1320 log_err("ucal_getMillis failed: %s\n", u_errorName(status)); in testZones()
1328 log_err("ucal_setMillis() failed: %s\n", u_errorName(status)); in testZones()
1336 log_err("ucal_get() failed: %s\n", u_errorName(status)); in testZones()
1347 log_err("ucal_get() failed: %s\n", u_errorName(status)); in testZones()
1354 log_err("FAIL: Discrepancy of %d millis = %fhr\n", utc-expected, temp ); in testZones()
1386log_err("U_FAILURE for field %d, Expected y/m/d h:m:s:ms of %d/%d/%d %d:%d:%d:%d got %d/%d/%d %d… in checkDateTime()
1397 log_err("ucal_get failed: %s\n", u_errorName(status)); in checkDateTime()
1415 log_err("FAILURE: Expected y/m/d of %d/%d/%d got %d/%d/%d\n", y, m + 1, d, in checkDate()
1421 log_err("ucal_get failed: %s\n", u_errorName(status)); in checkDate()
1443 log_err("FAIL: Calendar::get failed: %s\n", u_errorName(status)); in verify1()
1449 log_err("ucal_getMillis failed: %s\n", u_errorName(status)); in verify1()
1455 log_err("FAIL: %s\n", msg); in verify1()
1458 log_err("ucal_getMillis failed: %s\n", u_errorName(status) ); in verify1()
1461log_err("Got %s Expected %d/%d/%d \n", austrdup(myDateFormat(dat, d1)), year, month + 1, day ); in verify1()
1484 log_err("FAIL: Calendar::get failed: %s\n", u_errorName(status)); in verify2()
1490 log_err("ucal_getMillis failed: %s\n", u_errorName(status)); in verify2()
1496 log_err("FAIL: %s\n", msg); in verify2()
1499 log_err("ucal_getMillis failed: %s\n", u_errorName(status)); in verify2()
1502 log_err("Got %s Expected %d/%d/%d/ %d:%d:%d %s\n", austrdup(myDateFormat(dat, d1)), in verify2()
1527 log_err("ucal_setGregorianChange(1969) failed: %s\n", u_errorName(errorCode)); in TestGregorianChange()
1531log_err("ucal_getGregorianChange() failed: %s, date = %f\n", u_errorName(errorCode), date); in TestGregorianChange()
1540 log_err("ucal_open(UTC, non-Gregorian) failed: %s\n", u_errorName(errorCode)); in TestGregorianChange()
1545log_err("ucal_setGregorianChange(non-Gregorian calendar) did not yield U_UNSUPPORTED_ERROR but %s\… in TestGregorianChange()
1551log_err("ucal_getGregorianChange(non-Gregorian calendar) did not yield U_UNSUPPORTED_ERROR but %s\… in TestGregorianChange()
1611 log_err("ERROR getting keyword value for locale \"%s\"\n", loc); in TestGetKeywordValuesForLocale()
1618 log_err("FAIL: Preferred values for locale \"%s\" does not match expected.\n", loc); in TestGetKeywordValuesForLocale()
1633 log_err("Locale %s have %s not in ALL\n", loc, value); in TestGetKeywordValuesForLocale()
1639 log_err("ERROR getting \"all\" keyword value for locale \"%s\"\n", loc); in TestGetKeywordValuesForLocale()
1645 log_err("FAIL: All values for locale \"%s\" does not match expected.\n", loc); in TestGetKeywordValuesForLocale()
1786log_err("FAIL: locale %s date %s isWeekend() status %s\n", testDatesPtr->locale, fmtDateBytes, u_e… in TestWeekend()
1789log_err("FAIL: locale %s date %s isWeekend %d, expected the opposite\n", testDatesPtr->locale, fmt… in TestWeekend()
1816log_err("FAIL: locale %s DOW %d getDayOfWeekType() status %s\n", testDaysPtr->locale, daysOfWeekPt… in TestWeekend()
1819log_err("FAIL: locale %s DOW %d type %d, expected %d\n", testDaysPtr->locale, daysOfWeekPtr->dayOf… in TestWeekend()
1892log_err("FAIL: for locale \"%s\", ucal_open had status %s\n", tfdItemPtr->locale, u_errorName(stat… in TestFieldDifference()
1904log_err("FAIL: for locale \"%s\", start %.1f, target %.1f, ucal_setMillis or ucal_getFieldDifferen… in TestFieldDifference()
1929log_err("FAIL: for locale \"%s\", start %.1f, target %.1f, ucal_setMillis or ucal_getFieldDifferen… in TestFieldDifference()
1945log_err("FAIL: for locale \"%s\", start %.1f, target %.1f, ucal_setMillis or ucal_getFieldDifferen… in TestFieldDifference()
1952log_err("FAIL: for locale \"%s\", start %.1f, target %.1f, for ucal_getFieldDifference (seconds) e… in TestFieldDifference()
1970 log_err("FAIL: Failed to create a calendar"); in TestAmbiguousWallTime()
1975 log_err("FAIL: Default UCAL_REPEATED_WALL_TIME value is not UCAL_WALLTIME_LAST"); in TestAmbiguousWallTime()
1979 log_err("FAIL: Default UCAL_SKIPPED_WALL_TIME value is not UCAL_WALLTIME_LAST"); in TestAmbiguousWallTime()
1989log_err("FAIL: Calculating time 2011-11-06 01:30:00 with UCAL_WALLTIME_FIRST - %s\n", u_errorName(… in TestAmbiguousWallTime()
2002log_err("FAIL: Calculating time 2011-11-06 01:30:00 with UCAL_WALLTIME_LAST - %s\n", u_errorName(s… in TestAmbiguousWallTime()
2015log_err("FAIL: Calculating time 2011-03-13 02:30:00 with UCAL_WALLTIME_FIRST - %s\n", u_errorName(… in TestAmbiguousWallTime()
2028log_err("FAIL: Calculating time 2011-03-13 02:30:00 with UCAL_WALLTIME_LAST - %s\n", u_errorName(s… in TestAmbiguousWallTime()
2041log_err("FAIL: Calculating time 2011-03-13 02:30:00 with UCAL_WALLTIME_NEXT_VALID - %s\n", u_error… in TestAmbiguousWallTime()
2108 log_err("FAIL: set era 0 year 2 then add 1 year and get year for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2112log_err("FAIL: era 0 add 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2123 log_err("FAIL: set era 0 year 2 then roll 1 year and get year for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2127log_err("FAIL: era 0 roll 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2139log_err("FAIL: set era 0 year 1 then roll 1 year and get year,era for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2143log_err("FAIL: era 0 roll 1 year from year 1 does not stay within era or pin to year 1 for %s (get… in TestAddRollEra0AndEraBounds()
2154log_err("FAIL: set era 0 year 1 then roll -2 years and get year,era for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2157log_err("FAIL: era 0 roll -2 years from year 1 does not stay within era or produce year -1 for %s … in TestAddRollEra0AndEraBounds()
2168log_err("FAIL: ucal_getLimit returns minimum era %d (should be 0) for calType %s, error %s\n", era… in TestAddRollEra0AndEraBounds()
2187log_err("FAIL: set era 1 year 2 then add 1 year and get year for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2190log_err("FAIL: era 1 add 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2201log_err("FAIL: set era 1 year 2 then roll 1 year and get year for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2204log_err("FAIL: era 1 roll 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2216log_err("FAIL: set era 1 year 1 then roll -1 year and get year,era for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2221log_err("FAIL: era 1 roll -1 year from year 1 does not stay within era or pin to year 1 for %s (ge… in TestAddRollEra0AndEraBounds()
2225log_err("FAIL: era 1 roll -1 year from year 1 does not stay within era or wrap to year %d for %s (… in TestAddRollEra0AndEraBounds()
2233log_err("FAIL: era 1 roll 1 year from end and get year,era for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2236log_err("FAIL: era 1 roll 1 year from year %d does not stay within era or wrap to year 1 for %s (g… in TestAddRollEra0AndEraBounds()
2254log_err("FAIL: set era %d year 1 then roll -1 year and get year,era for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2259log_err("FAIL: era %d roll -1 year from year 1 does not stay within era or pin to year 1 for %s (g… in TestAddRollEra0AndEraBounds()
2263log_err("FAIL: era %d roll -1 year from year 1 does not stay within era or wrap to year %d for %s … in TestAddRollEra0AndEraBounds()
2271log_err("FAIL: era %d roll 1 year from end and get year,era for %s, error %s\n", in TestAddRollEra0AndEraBounds()
2274log_err("FAIL: era %d roll 1 year from year %d does not stay within era or wrap to year 1 for %s (… in TestAddRollEra0AndEraBounds()
2338log_err("FAIL: %s ucal_getTimeZoneTransitionDate prev_inc status %s, result %d, expected date %.1f… in TestGetTZTransition()
2352log_err("FAIL: %s ucal_getTimeZoneTransitionDate next_inc status %s, result %d, expected date %.1f… in TestGetTZTransition()
2425 log_err("FAIL: TZ ID for Eastern Standard Time\n"); in TestGetTimeZoneIDByWindowsID()
2434 log_err("FAIL: TZ ID for Eastern Standard Time - US\n"); in TestGetTimeZoneIDByWindowsID()
2443 log_err("FAIL: TZ ID for Eastern Standard Time - CA\n"); in TestGetTimeZoneIDByWindowsID()
2453 log_err("FAIL: TZ ID for Bogus\n"); in TestGetTimeZoneIDByWindowsID()