public interface TestCase
Modifier and Type | Method and Description |
---|---|
void |
awaitSuccess()
Assert the test case passes and block until it is executed.
|
void |
awaitSuccess(long timeout,
TimeUnit unit)
Assert the test case passes and block until it is executed.
|
void |
awaitSuccess(Vertx vertx)
Assert the test case passes and block until it is executed.
|
void |
awaitSuccess(Vertx vertx,
long timeout,
TimeUnit unit)
Assert the test case passes and block until it is executed.
|
static TestCase |
create(String name,
Handler<TestContext> testCase)
Create a test case.
|
static TestCase create(String name, Handler<TestContext> testCase)
name
- the test case nametestCase
- the test casevoid awaitSuccess()
void awaitSuccess(long timeout, TimeUnit unit)
timeout
- the suite timeout expressed in the unit
argumentunit
- the suite timeout
unitvoid awaitSuccess(Vertx vertx)
vertx
- the vert.x instancevoid awaitSuccess(Vertx vertx, long timeout, TimeUnit unit)
vertx
- the vert.x instancetimeout
- the suite timeout expressed in the unit
argumentunit
- the suite timeout
unitCopyright © 2021 Eclipse. All rights reserved.