This object provides callback-ability for the end of a test suite, the completion succeeds when all tests pass otherwise it fails.
| Constructor and description |
|---|
TestCompletion
(java.lang.Object delegate) |
| Type | Name and description |
|---|---|
java.lang.Object |
getDelegate() |
void |
handler(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> completionHandler)Completion handler to receive a completion signal when this completions completes. |
void |
resolve(Future<java.lang.Void> future)Completes the future upon completion, otherwise fails it. |
| Methods inherited from class | Name |
|---|---|
class Completion |
await, await, awaitSuccess, awaitSuccess, getDelegate, handler, isCompleted, isFailed, isSucceeded, resolve |
Completion handler to receive a completion signal when this completions completes.
completionHandler - the completion handlerCompletes the future upon completion, otherwise fails it.
future - the future to resolve