# | Line 78 | Line 78 | public class ScheduledExecutorSubclassTe | |
---|---|---|
78 | * execute successfully executes a runnable | |
79 | */ | |
80 | public void testExecute() throws InterruptedException { | |
81 | < | TrackedShortRunnable runnable =new TrackedShortRunnable(); |
81 | > | TrackedShortRunnable runnable = new TrackedShortRunnable(); |
82 | CustomExecutor p1 = new CustomExecutor(1); | |
83 | p1.execute(runnable); | |
84 | assertFalse(runnable.done); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |