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