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

Comparing jsr166/src/test/tck/ForkJoinTaskTest.java (file contents):
Revision 1.8 by dl, Wed Aug 11 19:50:02 2010 UTC vs.
Revision 1.11 by jsr166, Sat Sep 11 07:31:52 2010 UTC

# Line 28 | Line 28 | import java.util.*;
28   public class ForkJoinTaskTest extends JSR166TestCase {
29  
30      public static void main(String[] args) {
31 <        junit.textui.TestRunner.run (suite());
31 >        junit.textui.TestRunner.run(suite());
32      }
33      public static Test suite() {
34          return new TestSuite(ForkJoinTaskTest.class);
# Line 44 | Line 44 | public class ForkJoinTaskTest extends JS
44  
45      static final ForkJoinPool mainPool = new ForkJoinPool();
46      static final ForkJoinPool singletonPool = new ForkJoinPool(1);
47 <    static final ForkJoinPool asyncSingletonPool =
47 >    static final ForkJoinPool asyncSingletonPool =
48          new ForkJoinPool(1, ForkJoinPool.defaultForkJoinWorkerThreadFactory,
49                           null, true);
50      static final class FJException extends RuntimeException {
# Line 224 | Line 224 | public class ForkJoinTaskTest extends JS
224       * invoke returns when task completes normally.
225       * isCompletedAbnormally and isCancelled return false for normally
226       * completed tasks. getRawResult of a RecursiveAction returns null;
227     *
227       */
228      public void testInvoke() {
229          RecursiveAction a = new RecursiveAction() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines