Package org.assertj.core.error.future
Class ShouldHaveCompletedExceptionallyWithin
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.future.ShouldHaveCompletedExceptionallyWithin
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveCompletedExceptionallyWithin extends BasicErrorMessageFactory
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringSHOULD_HAVE_COMPLETED_EXCEPTIONALLY_WITHINprivate static java.lang.StringSHOULD_HAVE_COMPLETED_EXCEPTIONALLY_WITHIN_DURATION-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, long timeout, java.util.concurrent.TimeUnit unit)privateShouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, java.time.Duration timeout)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, long timeout, java.util.concurrent.TimeUnit unit)static ErrorMessageFactoryshouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, java.time.Duration timeout)-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_HAVE_COMPLETED_EXCEPTIONALLY_WITHIN_DURATION
private static final java.lang.String SHOULD_HAVE_COMPLETED_EXCEPTIONALLY_WITHIN_DURATION
- See Also:
- Constant Field Values
-
SHOULD_HAVE_COMPLETED_EXCEPTIONALLY_WITHIN
private static final java.lang.String SHOULD_HAVE_COMPLETED_EXCEPTIONALLY_WITHIN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShouldHaveCompletedExceptionallyWithin
private ShouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, java.time.Duration timeout)
-
ShouldHaveCompletedExceptionallyWithin
private ShouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, long timeout, java.util.concurrent.TimeUnit unit)
-
-
Method Detail
-
shouldHaveCompletedExceptionallyWithin
public static ErrorMessageFactory shouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, java.time.Duration timeout)
-
shouldHaveCompletedExceptionallyWithin
public static ErrorMessageFactory shouldHaveCompletedExceptionallyWithin(java.util.concurrent.Future<?> actual, long timeout, java.util.concurrent.TimeUnit unit)
-
-