Class ForkingReporterFactory
java.lang.Object
org.apache.maven.surefire.api.booter.ForkingReporterFactory
- All Implemented Interfaces:
ReporterFactory
Creates ForkingReporters, which are typically one instance per TestSet or thread.
This factory is only used inside forks.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorDescriptionForkingReporterFactory
(boolean trimstackTrace, MasterProcessChannelEncoder eventChannel) -
Method Summary
Modifier and TypeMethodDescriptionclose()
Closes the factory, freeing resources allocated in the factory.Creates a reporter listener.
-
Constructor Details
-
ForkingReporterFactory
-
-
Method Details
-
createTestReportListener
Description copied from interface:ReporterFactory
Creates a reporter listener.- Specified by:
createTestReportListener
in interfaceReporterFactory
- Returns:
- new reporter listener instance
-
close
Description copied from interface:ReporterFactory
Closes the factory, freeing resources allocated in the factory.- Specified by:
close
in interfaceReporterFactory
- Returns:
- The run result
-