WithThrowable |
AbstractCompletableFutureAssert.failsWithin(long timeout,
java.util.concurrent.TimeUnit unit) |
Checks that the future does not complete within the given time (by calling Future.get(long, TimeUnit) ) and returns
the exception that caused the failure for further (exception) assertions, the exception can be any of
InterruptedException , ExecutionException , TimeoutException or CancellationException .
|
WithThrowable |
AbstractCompletableFutureAssert.failsWithin(java.time.Duration timeout) |
Checks that the future does not complete within the given time (by calling Future.get(long, TimeUnit) ) and returns
the exception that caused the failure for further (exception) assertions, the exception can be any of
InterruptedException , ExecutionException , TimeoutException or CancellationException .
|
WithThrowable |
AbstractFutureAssert.failsWithin(long timeout,
java.util.concurrent.TimeUnit unit) |
Checks that the future does not complete within the given time and returns the exception that caused the failure for
further (exception) assertions, the exception can be any of InterruptedException , ExecutionException ,
TimeoutException or CancellationException as per Future.get(long, TimeUnit) .
|
WithThrowable |
AbstractFutureAssert.failsWithin(java.time.Duration timeout) |
Checks that the future does not complete within the given time and returns the exception that caused the failure for
further (exception) assertions, the exception can be any of InterruptedException , ExecutionException ,
TimeoutException or CancellationException as per Future.get(long, TimeUnit) .
|
private WithThrowable |
AbstractCompletableFutureAssert.internalFailsWithin(long timeout,
java.util.concurrent.TimeUnit unit) |
|
private WithThrowable |
AbstractCompletableFutureAssert.internalFailsWithin(java.time.Duration timeout) |
|
private WithThrowable |
AbstractFutureAssert.internalFailsWithin(long timeout,
java.util.concurrent.TimeUnit unit) |
|
private WithThrowable |
AbstractFutureAssert.internalFailsWithin(java.time.Duration timeout) |
|