org.apache.maven.surefire.booter
Class ProviderFactory

java.lang.Object
  extended by org.apache.maven.surefire.booter.ProviderFactory

public class ProviderFactory
extends Object

Creates the surefire provider.

Author:
Kristian Rosenvold

Constructor Summary
ProviderFactory(StartupConfiguration startupConfiguration, ProviderConfiguration providerConfiguration, ClassLoader surefireClassLoader, ClassLoader testsClassLoader, Object reporterManagerFactory)
           
 
Method Summary
 SurefireProvider createProvider(boolean isInsideFork)
           
static RunResult invokeProvider(Object testSet, ClassLoader testsClassLoader, ClassLoader surefireClassLoader, Object factory, ProviderConfiguration providerConfiguration, boolean insideFork, StartupConfiguration startupConfiguration1, boolean restoreStreams)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderFactory

public ProviderFactory(StartupConfiguration startupConfiguration,
                       ProviderConfiguration providerConfiguration,
                       ClassLoader surefireClassLoader,
                       ClassLoader testsClassLoader,
                       Object reporterManagerFactory)
Method Detail

invokeProvider

public static RunResult invokeProvider(Object testSet,
                                       ClassLoader testsClassLoader,
                                       ClassLoader surefireClassLoader,
                                       Object factory,
                                       ProviderConfiguration providerConfiguration,
                                       boolean insideFork,
                                       StartupConfiguration startupConfiguration1,
                                       boolean restoreStreams)
                                throws TestSetFailedException,
                                       InvocationTargetException
Throws:
TestSetFailedException
InvocationTargetException

createProvider

public SurefireProvider createProvider(boolean isInsideFork)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.