Home
last modified time | relevance | path

Searched defs:expectedDate (Results 1 – 17 of 17) sorted by relevance

/aosp_15_r20/external/gson/gson/src/test/java/com/google/gson/internal/bind/util/
H A DISO8601UtilsTest.java39 String expectedDate = "2018-06-25"; in testDateFormatString() local
48 String expectedDate = "2018-06-28T18:06:16.870Z"; in testDateFormatWithMilliseconds() local
57 String expectedDate = "2018-06-28T15:06:16.870-03:00"; in testDateFormatWithTimezone() local
65 Date expectedDate = new GregorianCalendar(2018, Calendar.JUNE, 25).getTime(); in testDateParseWithDefaultTimezone() local
95 Date expectedDate = calendar.getTime(); in testDateParseWithTimezone() local
105 Date expectedDate = calendar.getTime(); in testDateParseSpecialTimezone() local
/aosp_15_r20/libcore/ojluni/src/test/java/time/tck/java/time/format/
H A DTCKDateTimeParseResolver.java286 public void test_resolveOneToDate(TemporalField field1, long value1, LocalDate expectedDate) { in test_resolveOneToDate()
291 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate); in test_resolveOneToDate() local
388 LocalDate expectedDate) { in test_resolveTwoToDate()
395 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate); in test_resolveTwoToDate() local
507 LocalDate expectedDate) { in test_resolveThreeToDate()
515 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate); in test_resolveThreeToDate() local
539 LocalDate expectedDate) { in test_resolveFourToDate()
548 assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate); in test_resolveFourToDate() local
668 LocalDate expectedDate = LocalDate.of(2012, 6, 30).plus(excessPeriod); in test_resolveFourToDateTime() local
671 … assertEquals(accessor.query(TemporalQueries.localDate()), expectedDate, "ResolverStyle: " + s); in test_resolveFourToDateTime() local
/aosp_15_r20/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
H A DTCKMinguoChronology.java425 …public void test_localDateTime(TemporalAccessor accessor, MinguoDate expectedDate, LocalTime expe… in test_localDateTime()
428 assertEquals(result.toLocalDate(), expectedDate); in test_localDateTime() local
429 assertEquals(MinguoDate.from(accessor), expectedDate); in test_localDateTime() local
459 …public void test_zonedDateTime(TemporalAccessor accessor, MinguoDate expectedDate, LocalTime expe… in test_zonedDateTime()
462 assertEquals(result.toLocalDate(), expectedDate); in test_zonedDateTime() local
463 assertEquals(MinguoDate.from(accessor), expectedDate); in test_zonedDateTime() local
/aosp_15_r20/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/datenavigation/
DDateNavigationViewTest.kt241 val expectedDate = MIDNIGHT.minus(Duration.ofDays(1)) in onDateChanged_setDate_listenerIsCalled() constant
254 val expectedDate = MIDNIGHT.minus(Duration.ofDays(3)) in onDateChanged_setPeriod_listenerIsCalled() constant
/aosp_15_r20/libcore/ojluni/src/test/java/time/test/java/time/chrono/
H A DTestUmmAlQuraChronology.java667 …public void test_zonedDateTime(TemporalAccessor accessor, HijrahDate expectedDate, LocalTime expe… in test_zonedDateTime()
670 assertEquals(result.toLocalDate(), expectedDate); in test_zonedDateTime() local
671 assertEquals(HijrahDate.from(accessor), expectedDate); in test_zonedDateTime() local
719 …public void test_localDateTime(TemporalAccessor accessor, HijrahDate expectedDate, LocalTime expe… in test_localDateTime()
722 assertEquals(result.toLocalDate(), expectedDate); in test_localDateTime() local
723 assertEquals(HijrahDate.from(accessor), expectedDate); in test_localDateTime() local
/aosp_15_r20/external/aws-sdk-java-v2/utils/src/test/java/software/amazon/awssdk/utils/
H A DDateUtilsTest.java76 Instant expectedDate = COMMON_DATE_FORMAT.parse(expected).toInstant(); in formatIso8601Date() local
210 Date expectedDate = COMMON_DATE_FORMAT.parse(expected); in alternateIso8601DateFormat() local
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/security/cert/
H A DX509CRLTest.java392 Date expectedDate = dates.get("lastUpdate"); in assertRsaCrlEntry() local
410 Date expectedDate = dates.get("lastUpdate"); in assertDsaCrlEntry() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/batteryinfo/
DBatteryManufactureDatePreferenceControllerTest.java86 final CharSequence expectedDate = BatteryUtils.getBatteryInfoFormattedDate(1669680000000L); in getSummary_available_returnExpectedDate() local
DBatteryFirstUseDatePreferenceControllerTest.java85 final CharSequence expectedDate = BatteryUtils.getBatteryInfoFormattedDate(1669680000000L); in getSummary_available_returnExpectedDate() local
/aosp_15_r20/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
H A DDateValueSanitizerTest.java76 final long expectedDate = expectedCal.getTimeInMillis(); in testSanitize_ok() local
/aosp_15_r20/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDatetimeTest.java66 private void testParse(String date, Date expectedDate, boolean isUtc, String expectedStr) { in testParse()
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DSimpleDateFormatTest.java785 private static void assertParse(String input, String pattern, Date expectedDate) in assertParse()
/aosp_15_r20/cts/tests/tests/text/src/android/text/format/cts/
H A DTimeTest.java93 final int expectedDate = 1; in testNormalize() local
/aosp_15_r20/prebuilts/module_sdk/art/1/test-exports/java/
Dcore-ojtests-public.jarMETA-INF/ META-INF/MANIFEST.MF TestDoubleSumAverage.class TestDoubleSumAverage.java package TestDoubleSumAverage ...
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/aosp_15_r20/prebuilts/module_sdk/art/current/test-exports/java/
Dcore-ojtests-public.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...