Home
last modified time | relevance | path

Searched refs:expectedEx (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKResolverStyle.java110 …public void test_resolverStyle(String str, ResolverStyle style, Class<?> expectedEx, int year, int… in test_resolverStyle() argument
125 if (expectedEx == null) { in test_resolverStyle()
135 assertTrue(expectedEx.isInstance(ex)); in test_resolverStyle()
DTCKSignStyle.java119 …public void test_signStyle(LocalDate localDate, SignStyle style, Class<?> expectedEx, String expec… in test_signStyle() argument
124 if (expectedEx == null) { in test_signStyle()
132 assertTrue(expectedEx.isInstance(ex)); in test_signStyle()
DTCKDateTimeFormatters.java228 String expected, Class<?> expectedEx) { in test_print_isoLocalDate() argument
230 if (expectedEx == null) { in test_print_isoLocalDate()
237 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalDate()
322 String expected, Class<?> expectedEx) { in test_print_isoOffsetDate() argument
324 if (expectedEx == null) { in test_print_isoOffsetDate()
331 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetDate()
380 String expected, Class<?> expectedEx) { in test_print_isoDate() argument
382 if (expectedEx == null) { in test_print_isoDate()
389 assertTrue(expectedEx.isInstance(ex)); in test_print_isoDate()
452 String expected, Class<?> expectedEx) { in test_print_isoLocalTime() argument
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronology.java239 public void test_eraName(String eraName, JapaneseEra era, Class expectedEx) { in test_eraName() argument
243 assertTrue(expectedEx.isInstance(ex)); in test_eraName()
DTestUmmAlQuraChronology.java667 …TemporalAccessor accessor, HijrahDate expectedDate, LocalTime expectedTime, Class<?> expectedEx) { in test_zonedDateTime() argument
668 if (expectedEx == null) { in test_zonedDateTime()
679 assertTrue(expectedEx.isInstance(ex)); in test_zonedDateTime()
719 …TemporalAccessor accessor, HijrahDate expectedDate, LocalTime expectedTime, Class<?> expectedEx) { in test_localDateTime() argument
720 if (expectedEx == null) { in test_localDateTime()
730 assertTrue(expectedEx.isInstance(ex)); in test_localDateTime()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKYearMonth.java775 …YearMonth base, long amount, TemporalUnit unit, YearMonth expectedYearMonth, Class<?> expectedEx) { in test_plus_long_TemporalUnit() argument
776 if (expectedEx == null) { in test_plus_long_TemporalUnit()
783 assertTrue(expectedEx.isInstance(ex)); in test_plus_long_TemporalUnit()
827 …(YearMonth base, TemporalAmount temporalAmount, YearMonth expectedYearMonth, Class<?> expectedEx) { in test_plus_TemporalAmount() argument
828 if (expectedEx == null) { in test_plus_TemporalAmount()
835 assertTrue(expectedEx.isInstance(ex)); in test_plus_TemporalAmount()
990 …YearMonth base, long amount, TemporalUnit unit, YearMonth expectedYearMonth, Class<?> expectedEx) { in test_minus_long_TemporalUnit() argument
991 if (expectedEx == null) { in test_minus_long_TemporalUnit()
998 assertTrue(expectedEx.isInstance(ex)); in test_minus_long_TemporalUnit()
1042 …(YearMonth base, TemporalAmount temporalAmount, YearMonth expectedYearMonth, Class<?> expectedEx) { in test_minus_TemporalAmount() argument
[all …]
DTCKInstant.java457 …lic void test_adjustInto(Instant test, Temporal temporal, Temporal expected, Class<?> expectedEx) {
458 if (expectedEx == null) {
466 assertTrue(expectedEx.isInstance(ex));
493 …_temporalAdjuster(Instant test, TemporalAdjuster adjuster, Instant expected, Class<?> expectedEx) {
494 if (expectedEx == null) {
502 assertTrue(expectedEx.isInstance(ex));
541 …mporalField(Instant test, TemporalField field, long value, Instant expected, Class<?> expectedEx) {
542 if (expectedEx == null) {
550 assertTrue(expectedEx.isInstance(ex));
DTCKYear.java600 …g_TemporalUnit(Year base, long amount, TemporalUnit unit, Year expectedYear, Class<?> expectedEx) { in test_plus_long_TemporalUnit() argument
601 if (expectedEx == null) { in test_plus_long_TemporalUnit()
608 assertTrue(expectedEx.isInstance(ex)); in test_plus_long_TemporalUnit()
732 …g_TemporalUnit(Year base, long amount, TemporalUnit unit, Year expectedYear, Class<?> expectedEx) { in test_minus_long_TemporalUnit() argument
733 if (expectedEx == null) { in test_minus_long_TemporalUnit()
740 assertTrue(expectedEx.isInstance(ex)); in test_minus_long_TemporalUnit()
DTCKOffsetTime.java711 … void test_adjustInto(OffsetTime test, Temporal temporal, Temporal expected, Class<?> expectedEx) {
712 if (expectedEx == null) {
720 assertTrue(expectedEx.isInstance(ex));
DTCKOffsetDateTime.java694 …d test_adjustInto(OffsetDateTime test, Temporal temporal, Temporal expected, Class<?> expectedEx) {
695 if (expectedEx == null) {
703 assertTrue(expectedEx.isInstance(ex));
DTCKLocalTime.java751 …c void test_adjustInto(LocalTime test, Temporal temporal, Temporal expected, Class<?> expectedEx) { in test_adjustInto() argument
752 if (expectedEx == null) { in test_adjustInto()
760 assertTrue(expectedEx.isInstance(ex)); in test_adjustInto()
DTCKLocalDateTime.java1155 …id test_adjustInto(LocalDateTime test, Temporal temporal, Temporal expected, Class<?> expectedEx) {
1156 if (expectedEx == null) {
1164 assertTrue(expectedEx.isInstance(ex));
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKMinguoChronology.java425 …TemporalAccessor accessor, MinguoDate expectedDate, LocalTime expectedTime, Class<?> expectedEx) { in test_localDateTime() argument
426 if (expectedEx == null) { in test_localDateTime()
436 assertTrue(expectedEx.isInstance(ex)); in test_localDateTime()
459 …TemporalAccessor accessor, MinguoDate expectedDate, LocalTime expectedTime, Class<?> expectedEx) { in test_zonedDateTime() argument
460 if (expectedEx == null) { in test_zonedDateTime()
471 assertTrue(expectedEx.isInstance(ex)); in test_zonedDateTime()