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)
           
 
Method Summary
 int runSuitesInProcess()
           
 int runSuitesInProcess(Object testSet, File surefirePropertiesFile, Properties p)
           
 
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)
Method Detail

runSuitesInProcess

public int runSuitesInProcess(Object testSet,
                              File surefirePropertiesFile,
                              Properties p)
                       throws SurefireExecutionException,
                              IOException
Throws:
SurefireExecutionException
IOException

runSuitesInProcess

public int runSuitesInProcess()
                       throws SurefireExecutionException
Throws:
SurefireExecutionException


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