interface TestCase
A test case object can be used to create a single test.
Author
Julien Viet
abstract fun awaitSuccess(): Unitabstract fun awaitSuccess(timeout: Long, unit: TimeUnit): Unitabstract fun awaitSuccess(vertx: Vertx): Unit
Assert the test case passes and block until it is executed. This method should be used from a non Vert.x context, like a Junit test. abstract fun awaitSuccess(vertx: Vertx, timeout: Long, unit: TimeUnit): Unit
Assert the test case passes and block until it is executed. This method should be used from a non Vert.x |
|
open static fun create(name: String, testCase: Handler<TestContext>): TestCase
Create a test case. |