/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CyclicBarrierTest.java | 33 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in awaitNumberWaiting() 178 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testAwait3_TimeoutException() 205 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testAwait4_Timeout_BrokenBarrier() 233 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testAwait5_Timeout_BrokenBarrier() 405 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testResetAfterTimeout()
|
D | SynchronousQueueTest.java | 172 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedOffer() 217 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll() 234 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPollWithOffer() 239 assertTrue(millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testTimedPollWithOffer() 260 assertTrue(millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testTimedPollWithOffer() 553 if (millisElapsedSince(startTime) > LONG_DELAY_MS)
|
D | LinkedBlockingDequeTest.java | 627 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedOffer() 714 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPoll() 718 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll() 734 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll() 742 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 859 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedOfferFirst() 1017 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPollFirst() 1021 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPollFirst() 1070 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPollFirstWithOfferFirst() 1087 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPollFirstWithOfferFirst() [all …]
|
D | BlockingQueueTest.java | 86 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedOfferNull() method 211 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPollWithOffer() 235 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPollWithOffer()
|
D | ScheduledExecutorTest.java | 48 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule1() 53 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule1() 71 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule3() 76 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule3() 93 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule4() 99 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule4() 117 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule5() 123 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule5() 325 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in testGetCompletedTaskCount() 602 } while (millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testPurge()
|
D | ScheduledExecutorSubclassTest.java | 100 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule1() 105 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule1() 123 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule3() 128 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule3() 145 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule4() 151 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule4() 169 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule5() 175 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testSchedule5() 375 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in testGetCompletedTaskCount() 651 } while (millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testPurge()
|
D | SemaphoreTest.java | 67 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in waitForQueuedThread() 81 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in waitForQueuedThreads() 192 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTryAcquire_timeout() 205 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTryAcquireN_timeout() 570 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testReleaseAcquireDifferentThreads()
|
D | LockSupportTest.java | 249 if (millisElapsedSince(startTime) >= timeoutMillis()) in testParkTimesOut() 304 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in testGetBlocker()
|
D | LinkedTransferQueueTest.java | 252 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPoll() 256 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll() 272 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll() 280 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 303 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testTimedPollAfterInterrupt() 948 assertTrue(millisElapsedSince(t0) >= timeoutMillis()); in testTryTransfer6() 989 assertTrue(millisElapsedSince(t0) >= timeoutMillis()); in testTryTransfer8()
|
D | ExecutorsTest.java | 190 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testNewSingleThreadScheduledExecutor() 216 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testNewScheduledThreadPool() 244 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testUnconfigurableScheduledExecutorService()
|
D | LinkedBlockingQueueTest.java | 317 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedOffer() 404 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPoll() 408 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll() 424 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll() 432 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|
D | PriorityBlockingQueueTest.java | 360 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPoll() 364 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll() 380 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll() 388 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|
D | ArrayBlockingQueueTest.java | 327 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedOffer() 415 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPoll() 419 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll() 435 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll() 443 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|
D | ExchangerTest.java | 106 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testExchange_TimeoutException()
|
D | ReentrantLockTest.java | 77 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in waitForQueuedThread() 395 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testTryLock_Timeout() 493 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testAwait_IMSE() 526 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); 546 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); 567 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testAwaitUntil_Timeout()
|
D | JSR166TestCase.java | 460 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in assertFutureTimesOut() 607 else if (millisElapsedSince(startTime) > timeoutMillis) { in waitForThreadToEnterWaitState() 628 long millisElapsedSince(long startNanoTime) { in millisElapsedSince() method in JSR166TestCase
|
D | AbstractQueuedLongSynchronizerTest.java | 125 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in waitForQueuedThread() 244 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in assertAwaitTimesOut() 526 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testAcquireNanos_Timeout() 604 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testAwait_IMSE() 1197 assertTrue(millisElapsedSince(startTime) >= millis);
|
D | AbstractQueuedSynchronizerTest.java | 128 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in waitForQueuedThread() 247 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in assertAwaitTimesOut() 529 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testAcquireNanos_Timeout() 607 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testAwait_IMSE() 1200 assertTrue(millisElapsedSince(startTime) >= millis);
|
D | ReentrantReadWriteLockTest.java | 79 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in waitForQueuedThread() 783 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testWriteTryLock_Timeout() 803 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testReadTryLock_Timeout() 877 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testAwait_IMSE() 925 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); 946 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); 968 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testAwaitUntil_Timeout()
|
D | ExecutorCompletionServiceTest.java | 128 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in testPoll1()
|
D | ForkJoinTaskTest.java | 96 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally() method 104 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally() 139 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); 177 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS);
|
D | ThreadPoolExecutorTest.java | 165 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in testGetCompletedTaskCount() 423 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testAwaitTermination_timesOut() 1946 && millisElapsedSince(startTime) < LONG_DELAY_MS) in testAllowCoreThreadTimeOut_true() 1948 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testAllowCoreThreadTimeOut_true()
|
D | DelayQueueTest.java | 394 assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); in testTimedPoll() 398 assertTrue(millisElapsedSince(startTime) >= timeoutMillis()); in testTimedPoll()
|
D | CountedCompleterTest.java | 95 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally() 103 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally() 138 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); 176 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS);
|
D | ForkJoinPoolTest.java | 244 assertTrue(millisElapsedSince(startTime) >= timeoutMillis); in testAwaitTermination_timesOut() 295 if (millisElapsedSince(startTime) > LONG_DELAY_MS) in testIsQuiescent()
|