Class EventBusCollector
java.lang.Object
io.vertx.reactivex.ext.unit.collect.EventBusCollector
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<EventBusCollector> static final StringJsontypefield value that signals a test case begins, used as part of the test reporting protocol for the event bus.static final StringJsontypefield value that signals a test case ends, used as part of the test reporting protocol for the event bus.static final StringJsontypefield value that signals a test suite begins, used as part of the test reporting protocol for the event bus.static final StringJsontypefield value that signals a test suite ends, used as part of the test reporting protocol for the event bus.static final StringJsontypefield value that reports a test suite error, used as part of the test reporting protocol for the event bus. -
Constructor Summary
ConstructorsConstructorDescriptionEventBusCollector(EventBusCollector delegate) EventBusCollector(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic EventBusCollectorcreate(Vertx vertx, Handler<TestSuiteReport> reporter) static EventBusCollectorcreate(Vertx vertx, ReportingOptions options) Create a message handler reporting with the specified options.booleaninthashCode()static EventBusCollectorRegister the collector as a consumer of the event bus with the specified address.toString()
-
Field Details
-
__TYPE_ARG
-
EVENT_TEST_SUITE_BEGIN
Jsontypefield value that signals a test suite begins, used as part of the test reporting protocol for the event bus.- See Also:
-
EVENT_TEST_SUITE_END
Jsontypefield value that signals a test suite ends, used as part of the test reporting protocol for the event bus.- See Also:
-
EVENT_TEST_SUITE_ERROR
Jsontypefield value that reports a test suite error, used as part of the test reporting protocol for the event bus.- See Also:
-
EVENT_TEST_CASE_BEGIN
Jsontypefield value that signals a test case begins, used as part of the test reporting protocol for the event bus.- See Also:
-
EVENT_TEST_CASE_END
Jsontypefield value that signals a test case ends, used as part of the test reporting protocol for the event bus.- See Also:
-
-
Constructor Details
-
EventBusCollector
-
EventBusCollector
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
create
Create a message handler reporting with the specified options. The returned message handler can be registered to an event bus.- Parameters:
vertx-options- the reporting options- Returns:
- the message handler
-
create
-
register
Register the collector as a consumer of the event bus with the specified address.- Parameters:
address- the registration address- Returns:
- the subscribed message consumer
-
newInstance
-