Package org.apache.maven.surefire.booter
Class ProviderFactory
java.lang.Object
org.apache.maven.surefire.booter.ProviderFactory
Creates the surefire provider.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorDescriptionProviderFactory
(StartupConfiguration startupConfiguration, ProviderConfiguration providerConfiguration, ClassLoader testsClassLoader, Object reporterManagerFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateProvider
(boolean isInsideFork) static RunResult
invokeProvider
(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 RunResult invokeProvider(Object testSet, ClassLoader testsClassLoader, Object factory, ProviderConfiguration providerConfiguration, boolean insideFork, StartupConfiguration startupConfig, boolean restoreStreams) throws TestSetFailedException, InvocationTargetException -
createProvider
-