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