Home
last modified time | relevance | path

Searched refs:yearExpected (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java683 int yearExpected = Calendar.getInstance().get(Calendar.YEAR); in test_getCreationDate() local
696 assertEquals(yearExpected, yearActual1); in test_getCreationDate()
710 assertEquals(yearExpected, yearActual2); in test_getCreationDate()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java366 int yearExpected = day.get(yowbyField) + 1; in test_withWeekOfWeekBasedYear() local
368 LocalDate yearDate = day.with(yowbyField, yearExpected); in test_withWeekOfWeekBasedYear()
370 …assertEquals(yearResult, yearExpected, "Localized WeekBasedYear not correct; " + day + " --> " + … in test_withWeekOfWeekBasedYear()