/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractExecutorServiceTest.java | 391 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 407 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 421 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 439 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 455 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4() 473 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5() 486 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1() 502 e.invokeAll(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAllNullTimeUnit() 516 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… in testTimedInvokeAll2() 532 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll3() [all …]
|
D | ScheduledExecutorTest.java | 204 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule1_RejectedExecutionException() 221 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule2_RejectedExecutionException() 237 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule3_RejectedExecutionException() 253 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleAtFixedRate1_RejectedExecutionException() 269 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleWithFixedDelay1_RejectedExecutionException() 602 } while (millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testPurge() 953 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 969 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 983 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1001 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() [all …]
|
D | ScheduledExecutorSubclassTest.java | 254 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule1_RejectedExecutionException() 271 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule2_RejectedExecutionException() 287 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule3_RejectedExecutionException() 303 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleAtFixedRate1_RejectedExecutionException() 319 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleWithFixedDelay1_RejectedExecutionException() 651 } while (millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testPurge() 1002 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1018 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1032 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1050 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() [all …]
|
D | ForkJoinPoolTest.java | 270 assertTrue(uehInvoked.await(MEDIUM_DELAY_MS, MILLISECONDS)); in testSetUncaughtExceptionHandler() 581 assertTrue(quittingTime.await(MEDIUM_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit() 592 assertTrue(submitted.await(MEDIUM_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit() 804 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 820 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 835 MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 853 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 870 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4() 888 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5() 901 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1() [all …]
|
D | LinkedTransferQueueTest.java | 277 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll() 280 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 287 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 306 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testTimedPollAfterInterrupt() 311 awaitTermination(t, MEDIUM_DELAY_MS); in testTimedPollAfterInterrupt() 670 awaitTermination(t, MEDIUM_DELAY_MS); in testDrainToWithActivePut() 722 awaitTermination(t, MEDIUM_DELAY_MS); in testWaitingConsumer() 757 awaitTermination(t, MEDIUM_DELAY_MS); in testTransfer2() 813 awaitTermination(t, MEDIUM_DELAY_MS); in testTransfer4() 836 awaitTermination(t, MEDIUM_DELAY_MS); in testTransfer5() [all …]
|
D | ThreadPoolExecutorTest.java | 1016 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedSubmit() 1642 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1661 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1678 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1699 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 1719 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4() 1740 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5() 1756 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1() 1775 e.invokeAll(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAllNullTimeUnit() 1792 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… in testTimedInvokeAll2() [all …]
|
D | JSR166TestCase.java | 116 public static long MEDIUM_DELAY_MS; field in JSR166TestCase 134 MEDIUM_DELAY_MS = SHORT_DELAY_MS * 10; in setDelays() 878 delay(MEDIUM_DELAY_MS); 884 delay(MEDIUM_DELAY_MS); 900 delay(MEDIUM_DELAY_MS); 963 delay(MEDIUM_DELAY_MS);
|
D | ThreadPoolExecutorSubclassTest.java | 1471 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1487 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1501 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1519 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 1536 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4() 1554 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5() 1567 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1() 1583 e.invokeAll(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAllNullTimeUnit() 1597 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… in testTimedInvokeAll2() 1613 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll3() [all …]
|
D | LinkedBlockingQueueTest.java | 429 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll() 432 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 439 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|
D | SynchronousQueueTest.java | 239 assertTrue(millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testTimedPollWithOffer() 260 assertTrue(millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testTimedPollWithOffer()
|
D | ArrayBlockingQueueTest.java | 440 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll() 443 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 450 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|
D | PriorityBlockingQueueTest.java | 388 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 395 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|
D | LinkedBlockingDequeTest.java | 739 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll() 742 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll() 749 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
|