org.apache.maven.surefire.booter
Class ForkedBooter
java.lang.Object
  
org.apache.maven.surefire.booter.ForkedBooter
public class ForkedBooter
- extends Object
 
The part of the booter that is unique to a forked vm.
 
 Deals with deserialization of the booter wire-level protocol
 
- Author:
 
  - Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ForkedBooter
public ForkedBooter()
main
public static void main(String[] args)
                 throws Throwable
- 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.  The system exit code will be 1 if an exception is thrown.
- Parameters:
 args - Commandline arguments
- Throws:
 Throwable - Upon throwables
 
 
invokeProviderInSameClassLoader
public static RunResult invokeProviderInSameClassLoader(Object testSet,
                                                        Object factory,
                                                        ProviderConfiguration providerConfiguration,
                                                        boolean insideFork,
                                                        StartupConfiguration startupConfiguration1,
                                                        boolean restoreStreams)
                                                 throws TestSetFailedException,
                                                        InvocationTargetException
- Throws:
 TestSetFailedException
InvocationTargetException
 
createProviderInCurrentClassloader
public static SurefireProvider createProviderInCurrentClassloader(StartupConfiguration startupConfiguration1,
                                                                  boolean isInsideFork,
                                                                  ProviderConfiguration providerConfiguration,
                                                                  Object reporterManagerFactory1)
 
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.