Package org.apache.maven.surefire.booter
Class ForkingReporterFactory
java.lang.Object
org.apache.maven.surefire.booter.ForkingReporterFactory
- All Implemented Interfaces:
ReporterFactory
Creates ForkingReporters, which are typically one instance per TestSet or thread.
This factory is only used inside forks.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionForkingReporterFactory(boolean trimstackTrace, ForkedChannelEncoder eventChannel) -
Method Summary
Modifier and TypeMethodDescriptionclose()Closes the factory, freeing resources allocated in the factory.Creates a reporter.
-
Field Details
-
trimstackTrace
private final boolean trimstackTrace -
eventChannel
-
-
Constructor Details
-
ForkingReporterFactory
-
-
Method Details
-
createReporter
Description copied from interface:ReporterFactoryCreates a reporter.- Specified by:
createReporterin interfaceReporterFactory- Returns:
- A reporter instance
-
close
Description copied from interface:ReporterFactoryCloses the factory, freeing resources allocated in the factory.- Specified by:
closein interfaceReporterFactory- Returns:
- The run result
-