Tibor17 commented on pull request #434: URL: https://github.com/apache/maven-surefire/pull/434#issuecomment-1008040477
@slawekjaranowski ok, the people who know the concept understand the purpose of this interface ;-) We had console logs as always and the console events are fired from e.g. `ForkedBooter`, just example. We can explain the concept. This is reporter and the Listener is reporter as well. There is some kind of adapter which transforms e.g. JUnit RunListener to Surefire's RunListener. All 3 listeners have to be implemented because this class is a sink of all events and the class aggregates several reporters which do what they have to to upon the events handled by the listeners interfaces. And the most important is that it does not matter for this class if we run in-plugin mode or forked mode. Maybe the name of the class is misleading for you but the implementation and inheritance cannot be changed like you said because it breaks the purpose. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
