Class ProviderFactory


  • public class ProviderFactory
    extends java.lang.Object
    Creates the surefire provider.
    Author:
    Kristian Rosenvold
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.maven.surefire.providerapi.SurefireProvider createProvider​(boolean isInsideFork)  
      static org.apache.maven.surefire.suite.RunResult invokeProvider​(java.lang.Object testSet, java.lang.ClassLoader testsClassLoader, java.lang.Object factory, ProviderConfiguration providerConfiguration, boolean insideFork, StartupConfiguration startupConfig, 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,
                               java.lang.ClassLoader testsClassLoader,
                               java.lang.Object reporterManagerFactory)
    • Method Detail

      • invokeProvider

        public static org.apache.maven.surefire.suite.RunResult invokeProvider​(java.lang.Object testSet,
                                                                               java.lang.ClassLoader testsClassLoader,
                                                                               java.lang.Object factory,
                                                                               ProviderConfiguration providerConfiguration,
                                                                               boolean insideFork,
                                                                               StartupConfiguration startupConfig,
                                                                               boolean restoreStreams)
                                                                        throws org.apache.maven.surefire.testset.TestSetFailedException,
                                                                               java.lang.reflect.InvocationTargetException
        Throws:
        org.apache.maven.surefire.testset.TestSetFailedException
        java.lang.reflect.InvocationTargetException
      • createProvider

        public org.apache.maven.surefire.providerapi.SurefireProvider createProvider​(boolean isInsideFork)