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

Comparing jsr166/src/test/tck/ThreadPoolExecutorTest.java (file contents):
Revision 1.33 by jsr166, Tue Dec 1 22:51:44 2009 UTC vs.
Revision 1.34 by jsr166, Wed Aug 25 00:07:03 2010 UTC

# Line 14 | Line 14 | import java.util.*;
14  
15   public class ThreadPoolExecutorTest extends JSR166TestCase {
16      public static void main(String[] args) {
17 <        junit.textui.TestRunner.run (suite());
17 >        junit.textui.TestRunner.run(suite());
18      }
19      public static Test suite() {
20          return new TestSuite(ThreadPoolExecutorTest.class);
# Line 846 | Line 846 | public class ThreadPoolExecutorTest exte
846  
847  
848      /**
849 <     *  execute (null) throws NPE
849 >     * execute(null) throws NPE
850       */
851      public void testExecuteNull() {
852          ThreadPoolExecutor tpe = new ThreadPoolExecutor(1,2,LONG_DELAY_MS, MILLISECONDS,new ArrayBlockingQueue<Runnable>(10));
# Line 859 | Line 859 | public class ThreadPoolExecutorTest exte
859      }
860  
861      /**
862 <     *  setCorePoolSize of negative value throws IllegalArgumentException
862 >     * setCorePoolSize of negative value throws IllegalArgumentException
863       */
864      public void testCorePoolSizeIllegalArgumentException() {
865          ThreadPoolExecutor tpe =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines