| Modifier and Type | Field and Description |
|---|---|
| pack-priv Futures |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public WithThrowable | Returns: a new assertion instance on the future's exception.the maximum time to wait 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 |
| public WithThrowable | Returns: a new assertion instance on the future's exception.the maximum time to wait timeout, TimeUnit the time unit 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 |
| private WithThrowable | |
| private WithThrowable | |
| private ObjectAssert | |
| private ObjectAssert | |
| public SELF | |
| public SELF | |
| public SELF | |
| public SELF | |
| public ObjectAssert | Returns: a new assertion object on the future's result.the maximum time to wait timeout)Waits if necessary for at most the given time for this future to complete and then returns its result for further assertions. |
| public ObjectAssert | Returns: a new assertion object on the future's result.the maximum time to wait timeout, TimeUnit the time unit of the timeout argument unit)Waits if necessary for at most the given time for this future to complete and then returns its result for further assertions. |
| public < the type of the resulting ASSERT extends AbstractAssertAssert | succeedsWithin(Duration
the maximum time to wait timeout, InstanceOfAssertFactory<RESULT, ASSERT> the factory which verifies the type and creates the new assertFactory)AssertWaits if necessary for at most the given time for this future to complete, the |
| public < the type of the resulting ASSERT extends AbstractAssertAssert | succeedsWithin(long
the maximum time to wait timeout, TimeUnit the time unit of the timeout argument unit, InstanceOfAssertFactory<RESULT, ASSERT> the factory which verifies the type and creates the new assertFactory)AssertWaits if necessary for at most the given time for this future to complete, the |
| futures | back to summary |
|---|---|
| pack-priv Futures futures
| |
| AbstractFutureAssert | back to summary |
|---|---|
| protected AbstractFutureAssert(ACTUAL actual, Class<?> selfType) | |
| failsWithin | back to summary |
|---|---|
| public WithThrowable 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 of WARNING
Examples:
| |
| failsWithin | back to summary |
|---|---|
| public WithThrowable 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 of WARNING
Examples:
| |
| internalFailsWithin | back to summary |
|---|---|
| private WithThrowable internalFailsWithin(Duration timeout) | |
| internalFailsWithin | back to summary |
|---|---|
| private WithThrowable internalFailsWithin(long timeout, TimeUnit unit) | |
| internalSucceedsWithin | back to summary |
|---|---|
| private ObjectAssert | |
| internalSucceedsWithin | back to summary |
|---|---|
| private ObjectAssert | |
| isCancelled | back to summary |
|---|---|
| public SELF isCancelled() Verifies that the Example:
| |
| isDone | back to summary |
|---|---|
| public SELF isDone() Verifies that the Example:
| |
| isNotCancelled | back to summary |
|---|---|
| public SELF isNotCancelled() Verifies that the Example:
| |
| isNotDone | back to summary |
|---|---|
| public SELF isNotDone() Verifies that the Example:
| |
| succeedsWithin | back to summary |
|---|---|
| public ObjectAssert Waits if necessary for at most the given time for this future to complete and then returns its result for further assertions. If the future's result is not available for any reason an assertion error is thrown. WARNING
To get assertions for the future result's type use Examples:
| |
| succeedsWithin | back to summary |
|---|---|
| public ObjectAssert Waits if necessary for at most the given time for this future to complete and then returns its result for further assertions. If the future's result is not available for any reason an assertion error is thrown. WARNING
To get assertions for the future result's type use Examples:
| |
| succeedsWithin | back to summary |
|---|---|
| public <ASSERT extends AbstractAssert Waits if necessary for at most the given time for this future to complete, the If the future's result is not available for any reason an assertion error is thrown. WARNING
Examples:
| |
| succeedsWithin | back to summary |
|---|---|
| public <ASSERT extends AbstractAssert Waits if necessary for at most the given time for this future to complete, the If the future's result is not available for any reason an assertion error is thrown. WARNING
Examples:
| |