/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractExecutorServiceTest.java | 399 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 414 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 428 MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 445 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 493 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); 508 e.invokeAll(l, MEDIUM_DELAY_MS, null); 520 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… 535 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
|
D | ScheduledExecutorSubclassTest.java | 320 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule1_RejectedExecutionException() 336 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule2_RejectedExecutionException() 352 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule3_RejectedExecutionException() 368 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleAtFixedRate1_RejectedExecutionException() 384 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleWithFixedDelay1_RejectedExecutionException() 1073 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1088 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1101 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1118 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 1167 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); [all …]
|
D | ScheduledExecutorTest.java | 264 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule1_RejectedExecutionException() 280 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule2_RejectedExecutionException() 296 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule3_RejectedExecutionException() 312 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleAtFixedRate1_RejectedExecutionException() 328 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleWithFixedDelay1_RejectedExecutionException() 1022 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1037 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1050 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1067 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 1116 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); [all …]
|
D | ForkJoinPoolTest.java | 786 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 801 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 815 MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 832 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 881 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); 896 e.invokeAll(l, MEDIUM_DELAY_MS, null); 910 MEDIUM_DELAY_MS, MILLISECONDS); 925 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
|
D | PhaserTest.java | 692 assertEquals(-42, phaser.awaitAdvanceInterruptibly(-42, MEDIUM_DELAY_MS, MILLISECONDS)); 700 assertEquals(-42, phaser.awaitAdvanceInterruptibly(-42, MEDIUM_DELAY_MS, MILLISECONDS)); 703 assertEquals(1, phaser.awaitAdvanceInterruptibly(0, MEDIUM_DELAY_MS, MILLISECONDS)); 711 assertEquals(-42, phaser.awaitAdvanceInterruptibly(-42, MEDIUM_DELAY_MS, MILLISECONDS)); 714 assertEquals(2, phaser.awaitAdvanceInterruptibly(0, MEDIUM_DELAY_MS, MILLISECONDS)); 717 assertEquals(2, phaser.awaitAdvanceInterruptibly(1, MEDIUM_DELAY_MS, MILLISECONDS));
|
D | JSR166TestCase.java | 574 public static long MEDIUM_DELAY_MS; field in JSR166TestCase 593 MEDIUM_DELAY_MS = SHORT_DELAY_MS * 10; in setDelays() 918 pool.awaitTermination(MEDIUM_DELAY_MS, MILLISECONDS); 1592 delay(MEDIUM_DELAY_MS); 1598 delay(MEDIUM_DELAY_MS); 1614 delay(MEDIUM_DELAY_MS); 1677 delay(MEDIUM_DELAY_MS);
|
D | ThreadPoolExecutorTest.java | 1669 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1687 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1704 MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1724 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 1782 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); 1800 e.invokeAll(l, MEDIUM_DELAY_MS, null); 1816 MEDIUM_DELAY_MS, MILLISECONDS); 1834 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
|
D | ThreadPoolExecutorSubclassTest.java | 1662 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1() 1680 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit() 1697 MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2() 1717 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3() 1775 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); 1793 e.invokeAll(l, MEDIUM_DELAY_MS, null); 1809 MEDIUM_DELAY_MS, MILLISECONDS); 1827 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS);
|