public interface EventBusCollector
| Modifier and Type | Field and Description | 
|---|---|
| static String | EVENT_TEST_CASE_BEGINJson  typefield value that signals a test case begins, used as part of the test reporting
 protocol for the event bus. | 
| static String | EVENT_TEST_CASE_ENDJson  typefield value that signals a test case ends, used as part of the test reporting
 protocol for the event bus. | 
| static String | EVENT_TEST_SUITE_BEGINJson  typefield value that signals a test suite begins, used as part of the test reporting
 protocol for the event bus. | 
| static String | EVENT_TEST_SUITE_ENDJson  typefield value that signals a test suite ends, used as part of the test reporting
 protocol for the event bus. | 
| static String | EVENT_TEST_SUITE_ERRORJson  typefield 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 | 
|---|---|
| Handler<Message<JsonObject>> | asMessageHandler() | 
| static EventBusCollector | create(Vertx vertx,
      Handler<TestSuiteReport> reporter) | 
| static EventBusCollector | create(Vertx vertx,
      ReportingOptions options)Create a message handler reporting with the specified options. | 
| 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(Vertx vertx, ReportingOptions options)
options - the reporting optionsstatic EventBusCollector create(Vertx vertx, Handler<TestSuiteReport> reporter)
MessageConsumer register(String address)
address - the registration addressHandler<Message<JsonObject>> asMessageHandler()
Copyright © 2024 Eclipse. All rights reserved.