public interface EventBusCollector
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_TEST_CASE_BEGIN
Json
type field value that signals a test case begins, used as part of the test reporting
protocol for the event bus. |
static String |
EVENT_TEST_CASE_END
Json
type field value that signals a test case ends, used as part of the test reporting
protocol for the event bus. |
static String |
EVENT_TEST_SUITE_BEGIN
Json
type field value that signals a test suite begins, used as part of the test reporting
protocol for the event bus. |
static String |
EVENT_TEST_SUITE_END
Json
type field value that signals a test suite ends, used as part of the test reporting
protocol for the event bus. |
static String |
EVENT_TEST_SUITE_ERROR
Json
type field value that reports a test suite error, used as part of the test reporting
protocol for the event bus. |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>> |
asMessageHandler() |
static EventBusCollector |
create(io.vertx.core.Vertx vertx,
io.vertx.core.Handler<TestSuiteReport> reporter) |
static EventBusCollector |
create(io.vertx.core.Vertx vertx,
ReportingOptions options)
Create a message handler reporting with the specified options.
|
io.vertx.core.eventbus.MessageConsumer |
register(String address)
Register the collector as a consumer of the event bus with the specified address.
|
static final String EVENT_TEST_SUITE_BEGIN
type
field value that signals a test suite begins, used as part of the test reporting
protocol for the event bus.static final String EVENT_TEST_SUITE_END
type
field value that signals a test suite ends, used as part of the test reporting
protocol for the event bus.static final String EVENT_TEST_SUITE_ERROR
type
field value that reports a test suite error, used as part of the test reporting
protocol for the event bus.static final String EVENT_TEST_CASE_BEGIN
type
field value that signals a test case begins, used as part of the test reporting
protocol for the event bus.static final String EVENT_TEST_CASE_END
type
field value that signals a test case ends, used as part of the test reporting
protocol for the event bus.static EventBusCollector create(io.vertx.core.Vertx vertx, ReportingOptions options)
options
- the reporting optionsstatic EventBusCollector create(io.vertx.core.Vertx vertx, io.vertx.core.Handler<TestSuiteReport> reporter)
io.vertx.core.eventbus.MessageConsumer register(String address)
address
- the registration addressio.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>> asMessageHandler()
Copyright © 2021 Eclipse. All rights reserved.