Lines Matching refs:h0

1281         final CompletableFuture<Void> h0 = m.thenRun(f, rs[0]);  in testThenRun_normalCompletion()  local
1284 checkIncomplete(h0); in testThenRun_normalCompletion()
1292 checkCompletedNormally(h0, null); in testThenRun_normalCompletion()
1314 final CompletableFuture<Void> h0 = m.thenRun(f, rs[0]); in testThenRun_exceptionalCompletion() local
1317 checkIncomplete(h0); in testThenRun_exceptionalCompletion()
1325 checkCompletedWithWrappedException(h0, ex); in testThenRun_exceptionalCompletion()
1346 final CompletableFuture<Void> h0 = m.thenRun(f, rs[0]); in testThenRun_sourceCancelled() local
1349 checkIncomplete(h0); in testThenRun_sourceCancelled()
1357 checkCompletedWithWrappedCancellationException(h0); in testThenRun_sourceCancelled()
1378 final CompletableFuture<Void> h0 = m.thenRun(f, rs[0]); in testThenRun_actionFailed() local
1386 checkCompletedWithWrappedCFException(h0); in testThenRun_actionFailed()
1406 final CompletableFuture<Integer> h0 = m.thenApply(f, rs[0]); in testThenApply_normalCompletion() local
1408 checkIncomplete(h0); in testThenApply_normalCompletion()
1414 checkCompletedNormally(h0, inc(v1)); in testThenApply_normalCompletion()
1434 final CompletableFuture<Integer> h0 = m.thenApply(f, rs[0]); in testThenApply_exceptionalCompletion() local
1440 checkCompletedWithWrappedException(h0, ex); in testThenApply_exceptionalCompletion()
1459 final CompletableFuture<Integer> h0 = m.thenApply(f, rs[0]); in testThenApply_sourceCancelled() local
1465 checkCompletedWithWrappedCancellationException(h0); in testThenApply_sourceCancelled()
1484 final CompletableFuture<Integer> h0 = m.thenApply(f, rs[0]); in testThenApply_actionFailed() local
1490 checkCompletedWithWrappedCFException(h0); in testThenApply_actionFailed()
1508 final CompletableFuture<Void> h0 = m.thenAccept(f, rs[0]); in testThenAccept_normalCompletion() local
1510 checkIncomplete(h0); in testThenAccept_normalCompletion()
1516 checkCompletedNormally(h0, null); in testThenAccept_normalCompletion()
1536 final CompletableFuture<Void> h0 = m.thenAccept(f, rs[0]); in testThenAccept_exceptionalCompletion() local
1542 checkCompletedWithWrappedException(h0, ex); in testThenAccept_exceptionalCompletion()
1561 final CompletableFuture<Void> h0 = m.thenAccept(f, rs[0]); in testThenAccept_sourceCancelled() local
1567 checkCompletedWithWrappedCancellationException(h0); in testThenAccept_sourceCancelled()
1586 final CompletableFuture<Void> h0 = m.thenAccept(f, rs[0]); in testThenAccept_actionFailed() local
1592 checkCompletedWithWrappedCFException(h0); in testThenAccept_actionFailed()
1619 final CompletableFuture<Integer> h0 = m.thenCombine(f, g, rs[0]); in testThenCombine_normalCompletion() local
1624 checkIncomplete(h0); rs[0].assertNotInvoked(); in testThenCombine_normalCompletion()
1633 checkCompletedNormally(h0, subtract(v1, v2)); in testThenCombine_normalCompletion()
2109 final CompletableFuture<Integer> h0 = m.applyToEither(f, g, rs[0]); in testApplyToEither_normalCompletion() local
2111 checkIncomplete(h0); in testApplyToEither_normalCompletion()
2116 checkCompletedNormally(h0, inc(v1)); in testApplyToEither_normalCompletion()
2136 checkCompletedNormally(h0, inc(v1)); in testApplyToEither_normalCompletion()
2157 final CompletableFuture<Integer> h0 = m.applyToEither(f, g, rs[0]); in testApplyToEither_exceptionalCompletion() local
2159 checkIncomplete(h0); in testApplyToEither_exceptionalCompletion()
2164 checkCompletedWithWrappedException(h0, ex); in testApplyToEither_exceptionalCompletion()
2192 checkCompletedWithWrappedException(h0, ex); in testApplyToEither_exceptionalCompletion()
2211 final CompletableFuture<Integer> h0 = m.applyToEither(f, g, rs[0]); in testApplyToEither_exceptionalCompletion2() local
2220 assertEquals(inc(v1), h0.join()); in testApplyToEither_exceptionalCompletion2()
2223 checkCompletedWithWrappedException(h0, ex); in testApplyToEither_exceptionalCompletion2()
2265 final CompletableFuture<Integer> h0 = m.applyToEither(f, g, rs[0]); in testApplyToEither_sourceCancelled() local
2267 checkIncomplete(h0); in testApplyToEither_sourceCancelled()
2272 checkCompletedWithWrappedCancellationException(h0); in testApplyToEither_sourceCancelled()
2300 checkCompletedWithWrappedCancellationException(h0); in testApplyToEither_sourceCancelled()
2318 final CompletableFuture<Integer> h0 = m.applyToEither(f, g, rs[0]); in testApplyToEither_sourceCancelled2() local
2327 assertEquals(inc(v1), h0.join()); in testApplyToEither_sourceCancelled2()
2330 checkCompletedWithWrappedCancellationException(h0); in testApplyToEither_sourceCancelled2()
2372 final CompletableFuture<Integer> h0 = m.applyToEither(f, g, rs[0]); in testApplyToEither_actionFailed() local
2377 checkCompletedWithWrappedCFException(h0); in testApplyToEither_actionFailed()
2414 final CompletableFuture<Void> h0 = m.acceptEither(f, g, rs[0]); in testAcceptEither_normalCompletion() local
2416 checkIncomplete(h0); in testAcceptEither_normalCompletion()
2421 checkCompletedNormally(h0, null); in testAcceptEither_normalCompletion()
2445 checkCompletedNormally(h0, null); in testAcceptEither_normalCompletion()
2466 final CompletableFuture<Void> h0 = m.acceptEither(f, g, rs[0]); in testAcceptEither_exceptionalCompletion() local
2468 checkIncomplete(h0); in testAcceptEither_exceptionalCompletion()
2473 checkCompletedWithWrappedException(h0, ex); in testAcceptEither_exceptionalCompletion()
2502 checkCompletedWithWrappedException(h0, ex); in testAcceptEither_exceptionalCompletion()
2521 final CompletableFuture<Void> h0 = m.acceptEither(f, g, rs[0]); in testAcceptEither_exceptionalCompletion2() local
2530 assertEquals(null, h0.join()); in testAcceptEither_exceptionalCompletion2()
2533 checkCompletedWithWrappedException(h0, ex); in testAcceptEither_exceptionalCompletion2()
2575 final CompletableFuture<Void> h0 = m.acceptEither(f, g, rs[0]); in testAcceptEither_sourceCancelled() local
2577 checkIncomplete(h0); in testAcceptEither_sourceCancelled()
2582 checkCompletedWithWrappedCancellationException(h0); in testAcceptEither_sourceCancelled()
2611 checkCompletedWithWrappedCancellationException(h0); in testAcceptEither_sourceCancelled()
2631 final CompletableFuture<Void> h0 = m.acceptEither(f, g, rs[0]); in testAcceptEither_actionFailed() local
2636 checkCompletedWithWrappedCFException(h0); in testAcceptEither_actionFailed()
2673 final CompletableFuture<Void> h0 = m.runAfterEither(f, g, rs[0]); in testRunAfterEither_normalCompletion() local
2675 checkIncomplete(h0); in testRunAfterEither_normalCompletion()
2680 checkCompletedNormally(h0, null); in testRunAfterEither_normalCompletion()
2698 checkCompletedNormally(h0, null); in testRunAfterEither_normalCompletion()
2721 final CompletableFuture<Void> h0 = m.runAfterEither(f, g, rs[0]); in testRunAfterEither_exceptionalCompletion() local
2723 checkIncomplete(h0); in testRunAfterEither_exceptionalCompletion()
2728 checkCompletedWithWrappedException(h0, ex); in testRunAfterEither_exceptionalCompletion()
2757 checkCompletedWithWrappedException(h0, ex); in testRunAfterEither_exceptionalCompletion()
2776 final CompletableFuture<Void> h0 = m.runAfterEither(f, g, rs[0]); in testRunAfterEither_exceptionalCompletion2() local
2785 assertEquals(null, h0.join()); in testRunAfterEither_exceptionalCompletion2()
2788 checkCompletedWithWrappedException(h0, ex); in testRunAfterEither_exceptionalCompletion2()
2830 final CompletableFuture<Void> h0 = m.runAfterEither(f, g, rs[0]); in testRunAfterEither_sourceCancelled() local
2832 checkIncomplete(h0); in testRunAfterEither_sourceCancelled()
2837 checkCompletedWithWrappedCancellationException(h0); in testRunAfterEither_sourceCancelled()
2866 checkCompletedWithWrappedCancellationException(h0); in testRunAfterEither_sourceCancelled()
2886 final CompletableFuture<Void> h0 = m.runAfterEither(f, g, rs[0]); in testRunAfterEither_actionFailed() local
2891 checkCompletedWithWrappedCFException(h0); in testRunAfterEither_actionFailed()