# | Line 3345 | Line 3345 | public class CompletableFutureTest exten | |
---|---|---|
3345 | () -> CompletableFuture.anyOf(null, f), | |
3346 | ||
3347 | () -> f.obtrudeException(null), | |
3348 | + | |
3349 | + | () -> CompletableFuture.delayedExecutor(1L, SECONDS, null), |
3350 | + | () -> CompletableFuture.delayedExecutor(1L, null, new ThreadExecutor()), |
3351 | + | () -> CompletableFuture.delayedExecutor(1L, null), |
3352 | + | |
3353 | + | () -> f.orTimeout(1L, null), |
3354 | + | () -> f.completeOnTimeout(42, 1L, null), |
3355 | }; | |
3356 | ||
3357 | assertThrows(NullPointerException.class, throwingActions); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |