Package io.vertx.reactivex.ext.unit
Class TestCompletion
- java.lang.Object
-
- io.vertx.reactivex.ext.unit.Completion<Void>
-
- io.vertx.reactivex.ext.unit.TestCompletion
-
public class TestCompletion extends Completion<Void>
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
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 boolean
equals(Object o)
TestCompletion
getDelegate()
void
handler(Handler<AsyncResult<Void>> completionHandler)
Completion handler to receive a completion signal when this completions completes.int
hashCode()
static TestCompletion
newInstance(TestCompletion arg)
void
resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.String
toString()
-
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:
toString
in classCompletion<Void>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCompletion<Void>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCompletion<Void>
-
getDelegate
public TestCompletion getDelegate()
- Overrides:
getDelegate
in classCompletion<Void>
-
resolve
public void resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.- Overrides:
resolve
in 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:
handler
in classCompletion<Void>
- Parameters:
completionHandler
- the completion handler
-
newInstance
public static TestCompletion newInstance(TestCompletion arg)
-
-