org.apache.maven.surefire.booter
Class SurefireBooter

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

public class SurefireBooter
extends java.lang.Object

Version:
$Id: SurefireBooter.java 406182 2006-05-14 01:42:59Z brett $
Author:
Jason van Zyl, Emmanuel Venisse

Constructor Summary
SurefireBooter()
           
 
Method Summary
 void addClassPathUrl(java.lang.String path)
           
 void addReport(java.lang.String report)
           
 void addReport(java.lang.String report, java.lang.Object[] constructorParams)
           
 void addSurefireBootClassPathUrl(java.lang.String path)
           
 void addSurefireClassPathUrl(java.lang.String path)
           
 void addTestSuite(java.lang.String suiteClassName, java.lang.Object[] constructorParams)
           
static void main(java.lang.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.
 boolean run()
           
 void setChildDelegation(boolean childDelegation)
           
 void setForkConfiguration(ForkConfiguration forkConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurefireBooter

public SurefireBooter()
Method Detail

addReport

public void addReport(java.lang.String report)

addReport

public void addReport(java.lang.String report,
                      java.lang.Object[] constructorParams)

addClassPathUrl

public void addClassPathUrl(java.lang.String path)

addTestSuite

public void addTestSuite(java.lang.String suiteClassName,
                         java.lang.Object[] constructorParams)

addSurefireClassPathUrl

public void addSurefireClassPathUrl(java.lang.String path)

setForkConfiguration

public void setForkConfiguration(ForkConfiguration forkConfiguration)

run

public boolean run()
            throws SurefireBooterForkException,
                   SurefireExecutionException
Throws:
SurefireBooterForkException
SurefireExecutionException

main

public static void main(java.lang.String[] args)
                 throws java.lang.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 -
Throws:
java.lang.Throwable

setChildDelegation

public void setChildDelegation(boolean childDelegation)

addSurefireBootClassPathUrl

public void addSurefireBootClassPathUrl(java.lang.String path)


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.