Package io.vertx.reactivex.ext.unit
Class TestCompletion
- java.lang.Object
-
- io.vertx.reactivex.ext.unit.Completion<Void>
-
- io.vertx.reactivex.ext.unit.TestCompletion
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class TestCompletion extends Completion<Void> implements 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
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<TestCompletion>__TYPE_ARG-
Fields inherited from class io.vertx.reactivex.ext.unit.Completion
__typeArg_0
-
-
Constructor Summary
Constructors Constructor Description TestCompletion(TestCompletion delegate)TestCompletion(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)TestCompletiongetDelegate()voidhandler(Handler<AsyncResult<Void>> completionHandler)Completion handler to receive a completion signal when this completions completes.inthashCode()static TestCompletionnewInstance(TestCompletion arg)voidresolve(Promise<Void> future)Completes the future upon completion, otherwise fails it.StringtoString()-
Methods inherited from class io.vertx.reactivex.ext.unit.Completion
await, await, awaitSuccess, awaitSuccess, isCompleted, isFailed, isSucceeded, newInstance, newInstance
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<TestCompletion> __TYPE_ARG
-
-
Constructor Detail
-
TestCompletion
public TestCompletion(TestCompletion delegate)
-
TestCompletion
public TestCompletion(Object delegate)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classCompletion<Void>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCompletion<Void>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCompletion<Void>
-
getDelegate
public TestCompletion getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classCompletion<Void>
-
resolve
public void resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.- Overrides:
resolvein classCompletion<Void>- Parameters:
future- the future to resolve
-
handler
public void handler(Handler<AsyncResult<Void>> completionHandler)
Completion handler to receive a completion signal when this completions completes.- Overrides:
handlerin classCompletion<Void>- Parameters:
completionHandler- the completion handler
-
newInstance
public static TestCompletion newInstance(TestCompletion arg)
-
-