Class TestCompletion
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
This object provides callback-ability for the end of a test suite, the completion succeeds
when all tests pass otherwise it fails.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
FieldsFields inherited from class Completion
__typeArg_0 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidhandler(Handler<AsyncResult<Void>> completionHandler) Completion handler to receive a completion signal when this completions completes.inthashCode()static TestCompletionvoidCompletes the future upon completion, otherwise fails it.toString()Methods inherited from class Completion
await, await, awaitSuccess, awaitSuccess, isCompleted, isFailed, isSucceeded, newInstance, newInstance
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
TestCompletion
-
TestCompletion
-
-
Method Details
-
toString
- Overrides:
toStringin classCompletion<Void>
-
equals
- Overrides:
equalsin classCompletion<Void>
-
hashCode
public int hashCode()- Overrides:
hashCodein classCompletion<Void>
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classCompletion<Void>
-
resolve
Completes the future upon completion, otherwise fails it.- Overrides:
resolvein classCompletion<Void>- Parameters:
future- the future to resolve
-
handler
Completion handler to receive a completion signal when this completions completes.- Overrides:
handlerin classCompletion<Void>- Parameters:
completionHandler- the completion handler
-
newInstance
-