# | Line 74 | Line 74 | public class ScheduledExecutorSubclassTe | |
---|---|---|
74 | } | |
75 | ||
76 | ||
77 | – | |
77 | /** | |
78 | * execute successfully executes a runnable | |
79 | */ | |
# | Line 313 | Line 312 | public class ScheduledExecutorSubclassTe | |
312 | * getCompletedTaskCount increases, but doesn't overestimate, | |
313 | * when tasks complete | |
314 | */ | |
315 | < | public void testGetCompletedTaskCount()throws InterruptedException { |
315 | > | public void testGetCompletedTaskCount() throws InterruptedException { |
316 | CustomExecutor p2 = new CustomExecutor(2); | |
317 | assertEquals(0, p2.getCompletedTaskCount()); | |
318 | p2.execute(new SmallRunnable()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |