vertx / io.vertx.reactivex.ext.unit / TestCompletion

TestCompletion

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.

Constructors

<init>

TestCompletion(delegate: TestCompletion)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<TestCompletion>

Inherited Properties

__typeArg_0

val __typeArg_0: TypeArg<T>

Functions

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): TestCompletion

handler

open fun handler(completionHandler: Handler<AsyncResult<Void>>): Unit

Completion handler to receive a completion signal when this completions completes.

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: TestCompletion): TestCompletion

resolve

open fun resolve(future: Future<Void>): Unit

Completes the future upon completion, otherwise fails it.

rxHandler

open fun rxHandler(): Maybe<Void>

Completion handler to receive a completion signal when this completions completes.

toString

open fun toString(): String

Inherited Functions

await

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 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.

awaitSuccess

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 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.

isCompleted

open fun isCompleted(): Boolean

isFailed

open fun isFailed(): Boolean

isSucceeded

open fun isSucceeded(): Boolean

newInstance

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>