public class ForkedBooter extends Object
Constructor and Description |
---|
ForkedBooter() |
Modifier and Type | Method and Description |
---|---|
static SurefireProvider |
createProviderInCurrentClassloader(StartupConfiguration startupConfiguration1,
boolean isInsideFork,
ProviderConfiguration providerConfiguration,
Object reporterManagerFactory1) |
static RunResult |
invokeProviderInSameClassLoader(Object testSet,
Object factory,
ProviderConfiguration providerConfiguration,
boolean insideFork,
StartupConfiguration startupConfiguration1,
boolean restoreStreams) |
static void |
main(String[] args)
This method is invoked when Surefire is forked - this method parses and organizes the arguments passed to it and
then calls the Surefire class' run method.
|
public static void main(String[] args) throws Throwable
args
- Commandline argumentsThrowable
- Upon throwablespublic static RunResult invokeProviderInSameClassLoader(Object testSet, Object factory, ProviderConfiguration providerConfiguration, boolean insideFork, StartupConfiguration startupConfiguration1, boolean restoreStreams) throws TestSetFailedException, InvocationTargetException
public static SurefireProvider createProviderInCurrentClassloader(StartupConfiguration startupConfiguration1, boolean isInsideFork, ProviderConfiguration providerConfiguration, Object reporterManagerFactory1)
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.