Home
last modified time | relevance | path

Searched refs:dates (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/tests/java/sql/
DSqlDateTest.java24 String[] dates = { in testValueOf() local
28 for (String date : dates) { in testValueOf()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CRLTest.java124 Map<String, Date> dates = new HashMap<String, Date>(); in getCrlDates() local
137 dates.put(key, value); in getCrlDates()
140 return dates; in getCrlDates()
230 Map<String, Date> dates = getCrlDates(CRL_RSA_DATES); in getThisUpdateNextUpdate() local
232 Date lastUpdate = dates.get("lastUpdate"); in getThisUpdateNextUpdate()
233 Date nextUpdate = dates.get("nextUpdate"); in getThisUpdateNextUpdate()
244 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); in getThisUpdateNextUpdate() local
246 Date lastUpdate = dates.get("lastUpdate"); in getThisUpdateNextUpdate()
247 Date nextUpdate = dates.get("nextUpdate"); in getThisUpdateNextUpdate()
341 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); in assertRsaCrlEntry() local
[all …]
DX509CertificateTest.java390 Date[] dates = getRsaCertificateDates(); in checkValidity() local
398 assertTrue(now.after(dates[0])); in checkValidity()
399 assertTrue(now.before(dates[1])); in checkValidity()
405 cal.setTime(dates[0]); in checkValidity()
410 cal.setTime(dates[1]); in checkValidity()
415 cal.setTime(dates[0]); in checkValidity()
423 cal.setTime(dates[0]); in checkValidity()
431 cal.setTime(dates[1]); in checkValidity()
439 cal.setTime(dates[1]); in checkValidity()
592 Date[] dates = getRsaCertificateDates(); in getNotBeforeAndNotAfterDates() local
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java1354 Date[] dates = { in testSetDate_int_Date() local
1364 for (int i = 0; i < dates.length; i++) { in testSetDate_int_Date()
1365 ps.setDate(1, dates[i]); in testSetDate_int_Date()
1371 ps.setDate(2, dates[0]); in testSetDate_int_Date()
1380 ps.setDate(1, dates[0]); in testSetDate_int_Date()
1390 ps1.setDate(1, dates[0]); in testSetDate_int_Date()
1413 Date[] dates = { new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), in testSetDate_int_Date_Calendar() local
1422 for (int i = 0; i < dates.length; i++) { in testSetDate_int_Date_Calendar()
1423 ps.setDate(1, dates[i], cals[i]); in testSetDate_int_Date_Calendar()
1429 ps.setDate(2, dates[0], cals[0]); in testSetDate_int_Date_Calendar()
[all …]
/libcore/support/src/test/java/tests/resources/x509/
Dcreate.sh35 openssl x509 -in ${DIR}/cert-rsa.der -inform d -noout -startdate -enddate > ${DIR}/cert-rsa-dates.t…
117 openssl crl -inform d -in ${DIR}/crl-rsa.der -noout -lastupdate -nextupdate > ${DIR}/crl-rsa-dates.…
118 … -inform d -in ${DIR}/crl-rsa-dsa.der -noout -lastupdate -nextupdate > ${DIR}/crl-rsa-dsa-dates.txt