Class ProviderFactory
java.lang.Object
org.apache.maven.surefire.booter.ProviderFactory
Creates the surefire provider.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionProviderFactory(StartupConfiguration startupConfiguration, ProviderConfiguration providerConfiguration, ClassLoader testsClassLoader, Object reporterManagerFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.surefire.api.provider.SurefireProvidercreateProvider(boolean isInsideFork) static org.apache.maven.surefire.api.suite.RunResultinvokeProvider(Object testSet, ClassLoader testsClassLoader, Object factory, ProviderConfiguration providerConfiguration, boolean insideFork, StartupConfiguration startupConfig, boolean restoreStreams)
-
Constructor Details
-
ProviderFactory
public ProviderFactory(StartupConfiguration startupConfiguration, ProviderConfiguration providerConfiguration, ClassLoader testsClassLoader, Object reporterManagerFactory)
-
-
Method Details
-
invokeProvider
public static org.apache.maven.surefire.api.suite.RunResult invokeProvider(Object testSet, ClassLoader testsClassLoader, Object factory, ProviderConfiguration providerConfiguration, boolean insideFork, StartupConfiguration startupConfig, boolean restoreStreams) throws org.apache.maven.surefire.api.testset.TestSetFailedException, InvocationTargetException - Throws:
org.apache.maven.surefire.api.testset.TestSetFailedExceptionInvocationTargetException
-
createProvider
public org.apache.maven.surefire.api.provider.SurefireProvider createProvider(boolean isInsideFork)
-