Uses of Class
org.assertj.core.api.WithThrowable
-
Packages that use WithThrowable Package Description org.assertj.core.api -
-
Uses of WithThrowable in org.assertj.core.api
Methods in org.assertj.core.api that return WithThrowable Modifier and Type Method Description WithThrowableAbstractCompletableFutureAssert. failsWithin(long timeout, TimeUnit unit)Checks that the future does not complete within the given time (by callingFuture.get(long, TimeUnit)) and returns the exception that caused the failure for further (exception) assertions, the exception can be any ofInterruptedException,ExecutionException,TimeoutExceptionorCancellationException.WithThrowableAbstractCompletableFutureAssert. failsWithin(Duration timeout)Checks that the future does not complete within the given time (by callingFuture.get(long, TimeUnit)) and returns the exception that caused the failure for further (exception) assertions, the exception can be any ofInterruptedException,ExecutionException,TimeoutExceptionorCancellationException.WithThrowableAbstractFutureAssert. failsWithin(long timeout, 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 ofInterruptedException,ExecutionException,TimeoutExceptionorCancellationExceptionas perFuture.get(long, TimeUnit).WithThrowableAbstractFutureAssert. failsWithin(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 ofInterruptedException,ExecutionException,TimeoutExceptionorCancellationExceptionas perFuture.get(long, TimeUnit).private WithThrowableAbstractCompletableFutureAssert. internalFailsWithin(long timeout, TimeUnit unit)private WithThrowableAbstractCompletableFutureAssert. internalFailsWithin(Duration timeout)private WithThrowableAbstractFutureAssert. internalFailsWithin(long timeout, TimeUnit unit)private WithThrowableAbstractFutureAssert. internalFailsWithin(Duration timeout)
-