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

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

# Line 11 | Line 11 | import java.util.*;
11   public class RecursiveTaskTest extends JSR166TestCase {
12  
13      public static void main(String[] args) {
14 <        junit.textui.TestRunner.run (suite());
14 >        junit.textui.TestRunner.run(suite());
15      }
16      public static Test suite() {
17          return new TestSuite(RecursiveTaskTest.class);
# Line 19 | Line 19 | public class RecursiveTaskTest extends J
19  
20      static final ForkJoinPool mainPool = new ForkJoinPool();
21      static final ForkJoinPool singletonPool = new ForkJoinPool(1);
22 <    static final ForkJoinPool asyncSingletonPool =
23 <        new ForkJoinPool(1, ForkJoinPool.defaultForkJoinWorkerThreadFactory,
22 >    static final ForkJoinPool asyncSingletonPool =
23 >        new ForkJoinPool(1, ForkJoinPool.defaultForkJoinWorkerThreadFactory,
24                           null, true);
25  
26      static final class FJException extends RuntimeException {
# Line 64 | Line 64 | public class RecursiveTaskTest extends J
64       * isCompletedAbnormally and isCancelled return false for normally
65       * completed tasks. getRawResult of a completed non-null task
66       * returns value;
67     *
67       */
68      public void testInvoke() {
69          RecursiveTask<Integer> a = new RecursiveTask<Integer>() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines