Constructor and Description |
---|
Futures() |
Modifier and Type | Method and Description |
---|---|
void |
assertIsCancelled(AssertionInfo info,
Future<?> actual)
Verifies that the
Future is cancelled. |
void |
assertIsDone(AssertionInfo info,
Future<?> actual)
Verifies that the
Future is done. |
void |
assertIsNotCancelled(AssertionInfo info,
Future<?> actual)
Verifies that the
Future is not cancelled. |
void |
assertIsNotDone(AssertionInfo info,
Future<?> actual)
Verifies that the
Future is not done. |
static Futures |
instance()
Returns the singleton instance of this class.
|
public static Futures instance()
public void assertIsCancelled(AssertionInfo info, Future<?> actual)
Future
is cancelled.info
- contains information about the assertion.actual
- the "actual" Date
.public void assertIsNotCancelled(AssertionInfo info, Future<?> actual)
Future
is not cancelled.info
- contains information about the assertion.actual
- the "actual" Date
.public void assertIsDone(AssertionInfo info, Future<?> actual)
Future
is done.info
- contains information about the assertion.actual
- the "actual" Date
.public void assertIsNotDone(AssertionInfo info, Future<?> actual)
Future
is not done.info
- contains information about the assertion.actual
- the "actual" Date
.Copyright © 2014–2019 AssertJ. All rights reserved.