Lines Matching refs:U_FAILURE
26 #define TEST_CHECK_STATUS {if (U_FAILURE(status)) {errln("%s:%d: Test failure. status=%s", \
352 U_FAILURE(status)) errln("FAIL: equals/before/after failed"); in TestGenericAPI()
364 U_FAILURE(status)) errln("FAIL: equals/before/after failed after setTime(+1000)"); in TestGenericAPI()
376 U_FAILURE(status)) { in TestGenericAPI()
391 U_FAILURE(status)) errln("FAIL: equals/before/after failed after rollback to January"); in TestGenericAPI()
412 …if (cal->getFirstDayOfWeek(aStatus) != i || U_FAILURE(aStatus)) errln("FAIL: getFirstDayOfWeek(sta… in TestGenericAPI()
434 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status)) in TestGenericAPI()
439 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status)) in TestGenericAPI()
444 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status)) in TestGenericAPI()
520 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status)) in TestGenericAPI()
527 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status)) in TestGenericAPI()
561 if (values.isNull() || U_FAILURE(status)) { in TestGenericAPI()
624 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestRog()
628 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in TestRog()
654 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in dowTest()
661 if (U_FAILURE(status)) { errln("Calendar::get failed [%s]", u_errorName(status)); return; } in dowTest()
690 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in TestClonesUnique908()
714 if (U_FAILURE(status)) { errln("GregorianCalendar::setGregorianChange failed"); return; } in TestGregorianChange768()
842 if (U_FAILURE(status)) { errln("FAIL: Calendar::get failed"); return; } in verify765()
844 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in verify765()
849 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in verify765()
888 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in test4064654()
891 if (U_FAILURE(status)) { errln("Calendar::createInstance failed"); return; } in test4064654()
893 if (U_FAILURE(status)) { errln("Calendar::setTime failed"); return; } in test4064654()
900 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in test4064654()
906 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in test4064654()
929 if (U_FAILURE(status)) { in TestAddSetOrder621()
935 if (U_FAILURE(status)) { in TestAddSetOrder621()
945 if (U_FAILURE(status)) { in TestAddSetOrder621()
953 if (U_FAILURE(status)) { in TestAddSetOrder621()
959 if (U_FAILURE(status)) { in TestAddSetOrder621()
968 if (U_FAILURE(status)) { in TestAddSetOrder621()
975 if (U_FAILURE(status)) { in TestAddSetOrder621()
1001 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAdd520()
1005 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAdd520()
1009 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAdd520()
1013 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAdd520()
1017 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAdd520()
1053 if (U_FAILURE(status)) { limit = i; status = U_ZERO_ERROR; } in TestAddRollExtensive()
1057 if (U_FAILURE(status)) { errln("GregorianCalendar::add -1 failed"); return; } in TestAddRollExtensive()
1073 if (U_FAILURE(status)) { in TestAddRollExtensive()
1083 …if (U_FAILURE(status)) { errln(UnicodeString("GregorianCalendar::roll ") + CalendarTest::fieldName… in TestAddRollExtensive()
1122 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in check520()
1147 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in check520()
1168 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; } in TestFieldSet4781()
1172 if (U_FAILURE(status)) { errln("Calendar::set failed"); return; } in TestFieldSet4781()
1241 if (U_FAILURE(status)) { errln("Calendar::setTime failed"); return; } in TestSecondsZero121()
1243 if (U_FAILURE(status)) { errln("Calendar::set failed"); return; } in TestSecondsZero121()
1245 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in TestSecondsZero121()
1274 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAddSetGet0610()
1283 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; } in TestAddSetGet0610()
1286 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAddSetGet0610()
1295 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; } in TestAddSetGet0610()
1298 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in TestAddSetGet0610()
1300 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in TestAddSetGet0610()
1318 (U_FAILURE(status) ? " FAIL: Calendar::get failed" : ""); in value()
1343 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in TestFields060()
1376 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; } in TestEpochStartFields()
1379 if (U_FAILURE(status)) { errln("Calendar::setTime failed"); return; } in TestEpochStartFields()
1381 if (U_FAILURE(status)) { errln("GregorianCalendar::inDaylightTime failed"); return; } in TestEpochStartFields()
1388 if (U_FAILURE(status)) { errln("Calendar::setTime failed"); return; } in TestEpochStartFields()
1393 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in TestEpochStartFields()
1399 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in TestEpochStartFields()
1405 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in TestEpochStartFields()
1449 …if (U_FAILURE(status)) { dataerrln("Couldn't create SimpleDateFormat - %s", u_errorName(status)); … in TestDOW_LOCALandYEAR_WOY()
1457 if (U_FAILURE(status)) { errln("Couldn't apply localized pattern"); return; } in TestDOW_LOCALandYEAR_WOY()
1465 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1997"); return; } in TestDOW_LOCALandYEAR_WOY()
1473 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1998"); return; } in TestDOW_LOCALandYEAR_WOY()
1481 if (U_FAILURE(status)) { errln("Error in parse/calculate test for 1582"); return; } in TestDOW_LOCALandYEAR_WOY()
1512 if(U_FAILURE(status)){ in yearAddTest()
1567 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; } in loop_addroll()
1569 if (U_FAILURE(errorCode)) { errln("Error in add"); delete calclone; return; } in loop_addroll()
1587 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; } in loop_addroll()
1589 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; } in loop_addroll()
1611 if (U_FAILURE(errorCode)) { errln("Format error"); return; } in doYEAR_WOYLoop()
1613 if (U_FAILURE(errorCode)) { errln("Parse error"); return; } in doYEAR_WOYLoop()
1617 if (U_FAILURE(errorCode)) { errln("Set time error"); return; } in doYEAR_WOYLoop()
1622 if (U_FAILURE(errorCode)) { errln("Get time error"); return; } in doYEAR_WOYLoop()
1650 if (U_FAILURE(errorCode)) { errln("Add error"); return; } in doYEAR_WOYLoop()
1663 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in marchByDelta()
1669 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in marchByDelta()
1671 if (U_FAILURE(status)) { errln("Calendar::add failed"); return; } in marchByDelta()
1673 if (U_FAILURE(status)) { errln("Calendar::get failed"); return; } in marchByDelta()
1678 if (U_FAILURE(status)) { errln("Calendar::getTime failed"); return; } in marchByDelta()
1687 if (U_FAILURE(status)) { \
2120 if(U_FAILURE(status)) return 0.0; in doMinDateOfCalendar()
2131 if(U_FAILURE(status)) return 0.0; in minDateOfCalendar()
2136 if(U_FAILURE(status)) return 0.0; in minDateOfCalendar()
2174 if (df.isNull() || U_FAILURE(status)) return; in Test3785()
2185 if (U_FAILURE(status)) { in Test3785()
2199 if (U_FAILURE(status)) { in Test3785()
2256 if (U_FAILURE(status)) { in TestTimeStamp()
2266 if (U_FAILURE(status)) { in TestTimeStamp()
2307 if (U_FAILURE(status)) { in TestISO8601()
2319 if (U_FAILURE(status)) { in TestISO8601()
2337 if (U_FAILURE(status)) { in TestAmbiguousWallTimeAPIs()
2356 } else if (U_FAILURE(status)) { in TestAmbiguousWallTimeAPIs()
2369 } else if (U_FAILURE(status)) { in TestAmbiguousWallTimeAPIs()
2486 if (U_FAILURE(status)) { in TestRepeatedWallTime()
2504 if (U_FAILURE(status)) { in TestRepeatedWallTime()
2520 if (U_FAILURE(status)) { in TestRepeatedWallTime()
2536 if (U_FAILURE(status)) { in TestRepeatedWallTime()
2586 if (U_FAILURE(status)) { in TestSkippedWallTime()
2612 if (U_FAILURE(status)) { in TestSkippedWallTime()
2636 if (U_FAILURE(status)) { in TestSkippedWallTime()
2660 if (U_FAILURE(status)) { in TestSkippedWallTime()
2684 if (U_FAILURE(status)) { in TestSkippedWallTime()