Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java173 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
575 java.util.Date delayedDate = delayedDate(timeoutMillis()); in testAwaitUntil_Timeout() local
576 assertFalse(c.awaitUntil(delayedDate)); in testAwaitUntil_Timeout()
577 assertTrue(new java.util.Date().getTime() >= delayedDate.getTime()); in testAwaitUntil_Timeout()
DAbstractQueuedLongSynchronizerTest.java231 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
263 java.util.Date delayedDate = delayedDate(timeoutMillis()); in assertAwaitTimesOut() local
264 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut()
265 assertTrue(new java.util.Date().getTime() >= delayedDate.getTime()); in assertAwaitTimesOut()
DAbstractQueuedSynchronizerTest.java234 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
266 java.util.Date delayedDate = delayedDate(timeoutMillis()); in assertAwaitTimesOut() local
267 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut()
268 assertTrue(new java.util.Date().getTime() >= delayedDate.getTime()); in assertAwaitTimesOut()
DReentrantReadWriteLockTest.java182 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
979 java.util.Date delayedDate = delayedDate(timeoutMillis()); in testAwaitUntil_Timeout() local
980 assertFalse(c.awaitUntil(delayedDate)); in testAwaitUntil_Timeout()
981 assertTrue(new java.util.Date().getTime() >= delayedDate.getTime()); in testAwaitUntil_Timeout()
DJSR166TestCase.java609 Date delayedDate(long delayMillis) { in delayedDate() method in JSR166TestCase