|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.renderer.radeox.macros.junit.report.TestSuite
public class TestSuite
| Field Summary | |
|---|---|
static String |
REPORT_DETAIL_ALL
|
static String |
REPORT_DETAIL_FAILURES_ONLY
|
static String |
REPORT_DETAIL_PER_FIXTURE
|
static String |
REPORT_DETAIL_SUMMARY
|
| Constructor Summary | |
|---|---|
TestSuite(TestReport report)
|
|
| Method Summary | |
|---|---|
javax.servlet.http.HttpServletRequest |
getCurrentRequest()
Returns the current page request |
String |
getCurrentRequestUrl()
Retrieves the full URL including parameters for the current request |
TestReport |
getReport()
|
String |
getReportDetail()
Determines how much detail is shown in the report |
Writer |
getWriter()
The writer to use with this test suite |
boolean |
isDebug()
|
boolean |
isRunningSuite()
|
boolean |
isStopOnException()
|
boolean |
isStopRunning()
|
void |
onDebug(String nodeText,
String message)
Records a debug message in the report |
void |
onException(String nodeText,
String message,
Throwable exception)
Records an exception in the report |
void |
onFailure(String nodeText,
String actualValue,
String message)
Records a test failure in the report |
void |
onPass(String nodeText,
String message)
Records a test pass in the report |
void |
setCurrentRequest(javax.servlet.http.HttpServletRequest currentRequest)
Sets the current page request |
void |
setDebug(boolean debug)
|
void |
setReport(TestSuiteReport report)
Sets the current suite report |
void |
setReportDetail(String reportDetail)
Determines how much detail is shown in the report |
void |
setStopOnException(boolean stopOnException)
|
void |
setStopRunning(boolean stopRunning)
|
void |
setWriter(Writer writer)
Sets the writer used by this test suite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REPORT_DETAIL_ALL
public static final String REPORT_DETAIL_PER_FIXTURE
public static final String REPORT_DETAIL_SUMMARY
public static final String REPORT_DETAIL_FAILURES_ONLY
| Constructor Detail |
|---|
public TestSuite(TestReport report)
| Method Detail |
|---|
public Writer getWriter()
public void setWriter(Writer writer)
writer - the writer to usepublic TestReport getReport()
public void setReport(TestSuiteReport report)
report - the current suite reportpublic boolean isRunningSuite()
public boolean isDebug()
public void setDebug(boolean debug)
public void onException(String nodeText,
String message,
Throwable exception)
nodeText - the current cell on the tablemessage - a message to record with the exceptionexception - the exception to record
public void onFailure(String nodeText,
String actualValue,
String message)
nodeText - the current cell text on the tableactualValue - the value that was returned from the executionmessage - a message to record with the failure
public void onPass(String nodeText,
String message)
nodeText - the current cell text on the tablemessage - a message to record with the pass
public void onDebug(String nodeText,
String message)
nodeText - the current cell text on the tablemessage - a message to record with the passpublic String getReportDetail()
public void setReportDetail(String reportDetail)
reportDetail - ne of the detail levels, either REPORT_DETAIL_ALL, REPORT_DETAIL_TEST_FIXTURE or REPORT_DETAIL_TEST_SUITEpublic javax.servlet.http.HttpServletRequest getCurrentRequest()
public void setCurrentRequest(javax.servlet.http.HttpServletRequest currentRequest)
currentRequest - public String getCurrentRequestUrl()
public boolean isStopRunning()
public void setStopRunning(boolean stopRunning)
public boolean isStopOnException()
public void setStopOnException(boolean stopOnException)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||