Home
last modified time | relevance | path

Searched refs:assertSerializable (Results 1 – 25 of 25) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKClockSerialization.java91 assertSerializable(Clock.systemUTC()); in test_systemClockSerializable()
92 assertSerializable(Clock.systemDefaultZone()); in test_systemClockSerializable()
93 assertSerializable(Clock.system(PARIS)); in test_systemClockSerializable()
98 assertSerializable(Clock.offset(Clock.system(PARIS), AMOUNT)); in test_offsetClockSerializable()
103 assertSerializable(Clock.tickSeconds(PARIS)); in test_tickClockSerializable()
104 assertSerializable(Clock.tickMinutes(MOSCOW)); in test_tickClockSerializable()
105 assertSerializable(Clock.tick(Clock.fixed(INSTANT, PARIS), AMOUNT)); in test_tickClockSerializable()
110 assertSerializable(Clock.fixed(INSTANT, ZoneOffset.UTC)); in test_fixedClockSerializable()
111 assertSerializable(Clock.fixed(INSTANT, PARIS)); in test_fixedClockSerializable()
DTCKPeriodSerialization.java76 assertSerializable(Period.ZERO); in test_serialization()
77 assertSerializable(Period.ofDays(1)); in test_serialization()
78 assertSerializable(Period.of(1, 2, 3)); in test_serialization()
DTCKYearSerialization.java78 assertSerializable(Year.of(2)); in test_serialization()
79 assertSerializable(Year.of(0)); in test_serialization()
80 assertSerializable(Year.of(-2)); in test_serialization()
DTCKLocalDateSerialization.java87 assertSerializable(TEST_2007_07_15); in test_serialization()
88 assertSerializable(LocalDate.MIN); in test_serialization()
89 assertSerializable(LocalDate.MAX); in test_serialization()
DTCKLocalDateTimeSerialization.java80 assertSerializable(TEST_2007_07_15_12_30_40_987654321); in test_serialization()
81 assertSerializable(LocalDateTime.MIN); in test_serialization()
82 assertSerializable(LocalDateTime.MAX); in test_serialization()
DTCKDurationSerialization.java88 assertSerializable(Duration.ofHours(5)); in test_serialization()
89 assertSerializable(Duration.ofHours(0)); in test_serialization()
90 assertSerializable(Duration.ofHours(-5)); in test_serialization()
DTCKOffsetTimeSerialization.java90 assertSerializable(TEST_11_30_59_500_PONE); in test_serialization()
91 assertSerializable(OffsetTime.MIN); in test_serialization()
92 assertSerializable(OffsetTime.MAX); in test_serialization()
DTCKOffsetDateTimeSerialization.java90 assertSerializable(TEST_2008_6_30_11_30_59_000000500); in test_serialization()
91 assertSerializable(OffsetDateTime.MIN); in test_serialization()
92 assertSerializable(OffsetDateTime.MAX); in test_serialization()
DTCKLocalTimeSerialization.java89 assertSerializable(TEST_12_30_40_987654321); in test_serialization()
90 assertSerializable(LocalTime.MIN); in test_serialization()
91 assertSerializable(LocalTime.MAX); in test_serialization()
DTCKInstantSerialization.java79 assertSerializable(Instant.ofEpochMilli(134l)); in test_serialization()
DTCKMonthDaySerialization.java87 assertSerializable(TEST_07_15); in test_serialization()
DTCKYearMonthSerialization.java88 assertSerializable(TEST_2008_06); in test_serialization()
DTCKZoneIdSerialization.java84 assertSerializable(ZoneId.of("Europe/London")); in test_serialization()
85 assertSerializable(ZoneId.of("America/Chicago")); in test_serialization()
DTCKZoneOffsetSerialization.java80 assertSerializable(ZoneOffset.of("+01:30")); in test_serialization()
DTCKZonedDateTimeSerialization.java97 assertSerializable(TEST_DATE_TIME); in test_serialization()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneOffsetTransitionRuleSerialization.java93 assertSerializable(test); in test_serialization_unusualOffsets()
101 assertSerializable(test); in test_serialization_endOfDay()
109 assertSerializable(test); in test_serialization_unusualTime()
117 assertSerializable(test); in test_serialization_floatingWeek()
125 assertSerializable(test); in test_serialization_floatingWeekBackwards()
133 assertSerializable(test); in test_serialization_fixedDate()
DTCKZoneOffsetTransitionSerialization.java87 assertSerializable(test); in test_serialization_unusual1()
94 assertSerializable(test); in test_serialization_unusual2()
102 assertSerializable(test); in test_serialization_gap()
110 assertSerializable(test); in test_serialization_overlap()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKCopticSerialization.java79 assertSerializable(copticDate); in test_eraSerialization()
DTCKChronoLocalDateTimeSerialization.java100 assertSerializable(original); in test_ChronoLocalDateTimeSerialization()
DTCKChronoZonedDateTimeSerialization.java100 assertSerializable(original); in test_ChronoZonedDateTimeSerialization()
DTCKChronologySerialization.java97 assertSerializable(chrono); in test_chronoSerialization()
DTCKChronoLocalDateSerialization.java111 assertSerializable(date); in test_ChronoSerialization()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKJulianFieldsSerialization.java91 assertSerializable(field); in test_serializable()
DTCKValueRangeSerialization.java89 assertSerializable(range); in test_serialization()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java90 …protected static void assertSerializable(Object object) throws IOException, ClassNotFoundException… in assertSerializable() method in AbstractTCKTest