Searched refs:NoOpRunnable (Results 1 – 9 of 9) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorsTest.java | 24 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1() 25 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1() 26 e.execute(new NoOpRunnable()); in testNewCachedThreadPool1() 35 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2() 36 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2() 37 e.execute(new NoOpRunnable()); in testNewCachedThreadPool2() 56 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1() 57 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1() 58 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor1() 67 e.execute(new NoOpRunnable()); in testNewSingleThreadExecutor2() [all …]
|
D | ScheduledExecutorTest.java | 203 se.schedule(new NoOpRunnable(), in testSchedule1_RejectedExecutionException() 252 se.scheduleAtFixedRate(new NoOpRunnable(), in testScheduleAtFixedRate1_RejectedExecutionException() 268 se.scheduleWithFixedDelay(new NoOpRunnable(), in testScheduleWithFixedDelay1_RejectedExecutionException() 641 tasks[i] = p.schedule(new NoOpRunnable(), in testShutdown1() 670 tasks[i] = p.schedule(new NoOpRunnable(), in testShutdown2() 698 p.scheduleAtFixedRate(new NoOpRunnable(), initialDelay, in testShutdown3() 764 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() 778 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
|
D | ScheduledExecutorSubclassTest.java | 253 se.schedule(new NoOpRunnable(), in testSchedule1_RejectedExecutionException() 302 se.scheduleAtFixedRate(new NoOpRunnable(), in testScheduleAtFixedRate1_RejectedExecutionException() 318 se.scheduleWithFixedDelay(new NoOpRunnable(), in testScheduleWithFixedDelay1_RejectedExecutionException() 690 tasks[i] = p.schedule(new NoOpRunnable(), in testShutdown1() 719 tasks[i] = p.schedule(new NoOpRunnable(), in testShutdown2() 747 p.scheduleAtFixedRate(new NoOpRunnable(), initialDelay, in testShutdown3() 813 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() 827 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
|
D | ExecutorCompletionServiceTest.java | 209 Runnable r = new NoOpRunnable(); in testNewTaskForRunnable()
|
D | AbstractExecutorServiceTest.java | 72 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() 82 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
|
D | ForkJoinPoolTest.java | 453 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() 468 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
|
D | ThreadPoolExecutorTest.java | 1197 p.execute(new NoOpRunnable()); in testRejectedExecutionExceptionOnShutdown() 1415 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() 1432 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
|
D | ThreadPoolExecutorSubclassTest.java | 1090 p.execute(new NoOpRunnable()); in testRejectedExecutionExceptionOnShutdown() 1282 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() 1296 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
|
D | JSR166TestCase.java | 769 public static class NoOpRunnable implements Runnable { class in JSR166TestCase
|