Package org.apache.maven.plugin.surefire
Class InPluginVMSurefireStarter
- java.lang.Object
-
- org.apache.maven.plugin.surefire.InPluginVMSurefireStarter
-
public class InPluginVMSurefireStarter extends java.lang.ObjectStarts the provider in the same VM as the surefire plugin.
This part of the booter is always guaranteed to be in the same vm as the tests will be run in.
-
-
Field Summary
Fields Modifier and Type Field Description private ConsoleLoggerconsoleLoggerprivate ProviderConfigurationproviderConfigprivate StartupConfigurationstartupConfigprivate StartupReportConfigurationstartupReportConfig
-
Constructor Summary
Constructors Constructor Description InPluginVMSurefireStarter(StartupConfiguration startupConfig, ProviderConfiguration providerConfig, StartupReportConfiguration startupReportConfig, ConsoleLogger consoleLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunResultrunSuitesInProcess(DefaultScanResult scanResult)
-
-
-
Field Detail
-
startupConfig
private final StartupConfiguration startupConfig
-
startupReportConfig
private final StartupReportConfiguration startupReportConfig
-
providerConfig
private final ProviderConfiguration providerConfig
-
consoleLogger
private final ConsoleLogger consoleLogger
-
-
Constructor Detail
-
InPluginVMSurefireStarter
public InPluginVMSurefireStarter(@Nonnull StartupConfiguration startupConfig, @Nonnull ProviderConfiguration providerConfig, @Nonnull StartupReportConfiguration startupReportConfig, @Nonnull ConsoleLogger consoleLogger)
-
-
Method Detail
-
runSuitesInProcess
public RunResult runSuitesInProcess(@Nonnull DefaultScanResult scanResult) throws SurefireExecutionException, TestSetFailedException
-
-