Package io.cucumber.core.plugin
Class TestNGFormatter
java.lang.Object
io.cucumber.core.plugin.TestNGFormatter
- All Implemented Interfaces:
EventListener,Plugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.cucumber.testngxmlformatter.MessagesToTestngXmlWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEventPublisher(EventPublisher publisher) Set the event publisher.private voidwrite(io.cucumber.messages.types.Envelope event)
-
Field Details
-
writer
private final io.cucumber.testngxmlformatter.MessagesToTestngXmlWriter writer
-
-
Constructor Details
-
TestNGFormatter
-
-
Method Details
-
setEventPublisher
Description copied from interface:EventListenerSet the event publisher. The plugin can register event listeners with the publisher.- Specified by:
setEventPublisherin interfaceEventListener- Parameters:
publisher- the event publisher
-
write
private void write(io.cucumber.messages.types.Envelope event)
-