ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ScheduledExecutorSubclassTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ScheduledExecutorSubclassTest.java (file contents):
Revision 1.7 by jsr166, Sat Nov 21 02:07:27 2009 UTC vs.
Revision 1.10 by jsr166, Tue Dec 1 09:48:12 2009 UTC

# 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());
# Line 716 | Line 715 | public class ScheduledExecutorSubclassTe
715                        public String call() {
716                            try {
717                                latch.await();
718 <                          } catch (InterruptedException ok) {}
718 >                          } catch (InterruptedException quittingTime) {}
719                            return TEST_STRING;
720                        }});
721              l.add(null);
# Line 900 | Line 899 | public class ScheduledExecutorSubclassTe
899                        public String call() {
900                            try {
901                                latch.await();
902 <                          } catch (InterruptedException ok) {}
902 >                          } catch (InterruptedException quittingTime) {}
903                            return TEST_STRING;
904                        }});
905              l.add(null);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines