# | Line 25 | Line 25 | public class ScheduledExecutorTest exten | |
---|---|---|
25 | * execute successfully executes a runnable | |
26 | */ | |
27 | public void testExecute() throws InterruptedException { | |
28 | < | TrackedShortRunnable runnable =new TrackedShortRunnable(); |
28 | > | TrackedShortRunnable runnable = new TrackedShortRunnable(); |
29 | ScheduledThreadPoolExecutor p1 = new ScheduledThreadPoolExecutor(1); | |
30 | p1.execute(runnable); | |
31 | assertFalse(runnable.done); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |