org.apache.maven.surefire.booter
Class SurefireStarter

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

public class SurefireStarter
extends Object

Invokes surefire with the correct classloader setup.

This part of the booter is always guaranteed to be in the same vm as the tests will be run in.

Version:
$Id$
Author:
Jason van Zyl, Brett Porter, Emmanuel Venisse, Dan Fabulich, Kristian Rosenvold

Constructor Summary
SurefireStarter(StartupConfiguration startupConfiguration, ProviderConfiguration providerConfiguration, StartupReportConfiguration startupReportConfiguration)
           
 
Method Summary
 RunResult runSuitesInProcess()
           
 RunResult runSuitesInProcessWhenForked()
           
 RunResult runSuitesInProcessWhenForked(TypeEncodedValue testSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurefireStarter

public SurefireStarter(StartupConfiguration startupConfiguration,
                       ProviderConfiguration providerConfiguration,
                       StartupReportConfiguration startupReportConfiguration)
Method Detail

runSuitesInProcessWhenForked

public RunResult runSuitesInProcessWhenForked(TypeEncodedValue testSet)
                                       throws SurefireExecutionException
Throws:
SurefireExecutionException

runSuitesInProcessWhenForked

public RunResult runSuitesInProcessWhenForked()
                                       throws SurefireExecutionException
Throws:
SurefireExecutionException

runSuitesInProcess

public RunResult runSuitesInProcess()
                             throws SurefireExecutionException
Throws:
SurefireExecutionException


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