open class TestCompletion : 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 io.vertx.ext.unit.TestCompletion non RX-ified interface using Vert.x codegen.
TestCompletion(delegate: TestCompletion) |
static val __TYPE_ARG: TypeArg<TestCompletion> |
val __typeArg_0: TypeArg<T> |
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): TestCompletion |
|
open fun handler(completionHandler: Handler<AsyncResult<Void>>): Unit
Completion handler to receive a completion signal when this completions completes. |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: TestCompletion): TestCompletion |
|
open fun resolve(future: Future<Void>): Unit
Completes the future upon completion, otherwise fails it. |
|
open fun rxHandler(): Single<Void>
Completion handler to receive a completion signal when this completions completes. |
|
open fun toString(): String |
open fun await(timeoutMillis: Long): Unit
Cause the current thread to wait until this completion completes with a configurable timeout. If completion times out or the current thread is interrupted, an exception will be thrown. open fun await(): Unit
Cause the current thread to wait until this completion completes. If the current thread is interrupted, an exception will be thrown. |
|
open fun awaitSuccess(timeoutMillis: Long): Unit
Cause the current thread to wait until this completion completes and succeeds with a configurable timeout. If completion times out or the current thread is interrupted or the suite fails, an exception will be thrown. open fun awaitSuccess(): Unit
Cause the current thread to wait until this completion completes and succeeds. If the current thread is interrupted or the suite fails, an exception will be thrown. |
|
open fun isCompleted(): Boolean |
|
open fun isFailed(): Boolean |
|
open fun isSucceeded(): Boolean |
|
open static fun <T : Any> newInstance(arg: Completion<Any>): Completion<T>open static fun <T : Any> newInstance(arg: Completion<Any>, __typeArg_T: TypeArg<T>): Completion<T> |