Lines Matching refs:eraTestItemPtr
2093 const EraTestItem * eraTestItemPtr; in TestAddRollEra0AndEraBounds() local
2094 for (eraTestItemPtr = eraTestItems; eraTestItemPtr->locale != NULL; eraTestItemPtr++) { in TestAddRollEra0AndEraBounds()
2096 UCalendar *ucalTest = ucal_open(zoneGMT, -1, eraTestItemPtr->locale, UCAL_DEFAULT, &status); in TestAddRollEra0AndEraBounds()
2109 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2110 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2111 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2112 … log_err("FAIL: era 0 add 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2124 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2125 } else if ( (eraTestItemPtr->era0YearsGoBackwards && yrAfter>yrBefore) || in TestAddRollEra0AndEraBounds()
2126 (!eraTestItemPtr->era0YearsGoBackwards && yrAfter<yrBefore) ) { in TestAddRollEra0AndEraBounds()
2127 … log_err("FAIL: era 0 roll 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2134 if (eraTestItemPtr->era0YearsGoBackwards) { in TestAddRollEra0AndEraBounds()
2140 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2144 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2155 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2158 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2188 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2190 … log_err("FAIL: era 1 add 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2202 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2204 … log_err("FAIL: era 1 roll 1 year does not move forward in time for %s\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()
2217 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2222 eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2226 yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2234 eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2237 yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2255 eraNow, eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2260 eraNow, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2264 eraNow, yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2272 eraNow, eraTestItemPtr->locale, u_errorName(status)); in TestAddRollEra0AndEraBounds()
2275 eraNow, yrMax, eraTestItemPtr->locale, eraAfter, yrAfter); in TestAddRollEra0AndEraBounds()
2283 …_data_err("FAIL: ucal_open fails for zone GMT, locale %s, UCAL_DEFAULT\n", eraTestItemPtr->locale); in TestAddRollEra0AndEraBounds()