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

Comparing jsr166/src/test/tck/CompletableFutureTest.java (file contents):
Revision 1.106 by jsr166, Thu Sep 3 17:01:22 2015 UTC vs.
Revision 1.109 by jsr166, Fri Sep 4 02:50:00 2015 UTC

# Line 3333 | Line 3333 | public class CompletableFutureTest exten
3333              () -> f.exceptionally(null),
3334  
3335              () -> f.handle(null),
3336 +
3337              () -> CompletableFuture.allOf((CompletableFuture<?>)null),
3338              () -> CompletableFuture.allOf((CompletableFuture<?>[])null),
3339              () -> CompletableFuture.allOf(f, null),
# Line 3389 | Line 3390 | public class CompletableFutureTest exten
3390      public void testDefaultExecutor() {
3391          CompletableFuture<Integer> f = new CompletableFuture<>();
3392          Executor e = f.defaultExecutor();
3393 <        Executor c =  ForkJoinPool.commonPool();
3393 >        Executor c = ForkJoinPool.commonPool();
3394          if (ForkJoinPool.getCommonPoolParallelism() > 1)
3395              assertSame(e, c);
3396      }
# Line 3479 | Line 3480 | public class CompletableFutureTest exten
3480      }
3481  
3482      /**
3483 <     * failedStage returns a Completionstage completed
3483 >     * failedStage returns a CompletionStage completed
3484       * exceptionally with the given Exception
3485       */
3486      public void testFailedStage() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines