|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.surefire.booter.SurefireBooter
public class SurefireBooter
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)
|
java.io.File |
getReportsDirectory()
Get the directory where reports will be saved |
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)
|
void |
setRedirectTestOutputToFile(boolean redirectTestOutputToFile)
When forking, setting this to true will make the test output to be saved in a file instead of showing it on the standard output |
void |
setReportsDirectory(java.io.File reportsDirectory)
Set the directory where reports will be saved |
void |
setUseSystemClassLoader(boolean useSystemClassLoader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SurefireBooter()
Method Detail |
---|
public void addReport(java.lang.String report)
public void addReport(java.lang.String report, java.lang.Object[] constructorParams)
public void addTestSuite(java.lang.String suiteClassName, java.lang.Object[] constructorParams)
public void addClassPathUrl(java.lang.String path)
public void addSurefireClassPathUrl(java.lang.String path)
public void addSurefireBootClassPathUrl(java.lang.String path)
public void setRedirectTestOutputToFile(boolean redirectTestOutputToFile)
redirectTestOutputToFile
- public void setReportsDirectory(java.io.File reportsDirectory)
reportsDirectory
- the directorypublic java.io.File getReportsDirectory()
public void setForkConfiguration(ForkConfiguration forkConfiguration)
public void setUseSystemClassLoader(boolean useSystemClassLoader)
public boolean run() throws SurefireBooterForkException, SurefireExecutionException
SurefireBooterForkException
SurefireExecutionException
public static void main(java.lang.String[] args) throws java.lang.Throwable
args
-
java.lang.Throwable
public void setChildDelegation(boolean childDelegation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |