Home
last modified time | relevance | path

Searched refs:NoOpRunnable (Results 1 – 9 of 9) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java24 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 …]
DScheduledExecutorTest.java203 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()
DScheduledExecutorSubclassTest.java253 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()
DExecutorCompletionServiceTest.java209 Runnable r = new NoOpRunnable(); in testNewTaskForRunnable()
DAbstractExecutorServiceTest.java72 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable()
82 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
DForkJoinPoolTest.java453 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable()
468 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
DThreadPoolExecutorTest.java1197 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()
DThreadPoolExecutorSubclassTest.java1090 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()
DJSR166TestCase.java769 public static class NoOpRunnable implements Runnable { class in JSR166TestCase