Package | Description |
---|---|
io.vertx.ext.unit | |
io.vertx.reactivex.ext.unit | |
io.vertx.rxjava.ext.unit |
Modifier and Type | Method and Description |
---|---|
TestOptions |
TestOptions.addReporter(ReportOptions reportOptions) |
TestOptions |
TestOptions.setReporters(List<ReportOptions> reporters) |
TestOptions |
TestOptions.setTimeout(long timeout)
Set the test timeout.
|
TestOptions |
TestOptions.setUseEventLoop(Boolean useEventLoop)
Configure the execution to use an event loop when there is no one existing.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
TestOptions obj) |
TestCompletion |
TestSuite.run(TestOptions options)
Run the testsuite with the specified
options .
When the test suite is executed in a Vertx context (i.e `Vertx.currentContext()` returns a context) this
context's event loop is used for running the test suite unless the setUseEventLoop(Boolean)
is set to false . |
TestCompletion |
TestSuite.run(Vertx vertx,
TestOptions options)
Run the testsuite with the specified
options and the specified vertx instance.
The test suite will be executed on the event loop provided by the vertx argument when
setUseEventLoop(Boolean) is not set to false . |
static void |
TestOptionsConverter.toJson(TestOptions obj,
JsonObject json) |
static void |
TestOptionsConverter.toJson(TestOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
TestOptions(TestOptions other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
TestCompletion |
TestSuite.run(TestOptions options)
Run the testsuite with the specified
options .
When the test suite is executed in a Vertx context (i.e `Vertx.currentContext()` returns a context) this
context's event loop is used for running the test suite unless the TestOptions
is set to false . |
TestCompletion |
TestSuite.run(Vertx vertx,
TestOptions options)
Run the testsuite with the specified
options and the specified vertx instance.
The test suite will be executed on the event loop provided by the vertx argument when
TestOptions is not set to false . |
Modifier and Type | Method and Description |
---|---|
TestCompletion |
TestSuite.run(TestOptions options)
Run the testsuite with the specified
options .
When the test suite is executed in a Vertx context (i.e `Vertx.currentContext()` returns a context) this
context's event loop is used for running the test suite unless the TestOptions
is set to false . |
TestCompletion |
TestSuite.run(Vertx vertx,
TestOptions options)
Run the testsuite with the specified
options and the specified vertx instance.
The test suite will be executed on the event loop provided by the vertx argument when
TestOptions is not set to false . |
Copyright © 2021 Eclipse. All rights reserved.