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.11 by jsr166, Tue Dec 1 22:51:44 2009 UTC vs.
Revision 1.13 by jsr166, Sat Oct 9 18:40:41 2010 UTC

# Line 12 | Line 12 | import java.util.concurrent.atomic.*;
12  
13   public class ScheduledExecutorSubclassTest extends JSR166TestCase {
14      public static void main(String[] args) {
15 <        junit.textui.TestRunner.run (suite());
15 >        junit.textui.TestRunner.run(suite());
16      }
17      public static Test suite() {
18          return new TestSuite(ScheduledExecutorSubclassTest.class);
# 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);
# Line 190 | Line 190 | public class ScheduledExecutorSubclassTe
190  
191  
192      /**
193 <     *  execute (null) throws NPE
193 >     * execute(null) throws NPE
194       */
195      public void testExecuteNull() throws InterruptedException {
196          CustomExecutor se = new CustomExecutor(1);
# Line 202 | Line 202 | public class ScheduledExecutorSubclassTe
202      }
203  
204      /**
205 <     * schedule (null) throws NPE
205 >     * schedule(null) throws NPE
206       */
207      public void testScheduleNull() throws InterruptedException {
208          CustomExecutor se = new CustomExecutor(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines