|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.renderer.radeox.macros.junit.report.TestSuite
public class TestSuite
Field Summary | |
---|---|
static java.lang.String |
REPORT_DETAIL_ALL
|
static java.lang.String |
REPORT_DETAIL_FAILURES_ONLY
|
static java.lang.String |
REPORT_DETAIL_PER_FIXTURE
|
static java.lang.String |
REPORT_DETAIL_SUMMARY
|
Constructor Summary | |
---|---|
TestSuite(TestReport report)
|
Method Summary | |
---|---|
javax.servlet.http.HttpServletRequest |
getCurrentRequest()
Returns the current page request |
java.lang.String |
getCurrentRequestUrl()
Retrieves the full URL including parameters for the current request |
TestReport |
getReport()
|
java.lang.String |
getReportDetail()
Determines how much detail is shown in the report |
java.io.Writer |
getWriter()
The writer to use with this test suite |
boolean |
isDebug()
|
boolean |
isRunningSuite()
|
boolean |
isStopOnException()
|
boolean |
isStopRunning()
|
void |
onDebug(java.lang.String nodeText,
java.lang.String message)
Records a debug message in the report |
void |
onException(java.lang.String nodeText,
java.lang.String message,
java.lang.Throwable exception)
Records an exception in the report |
void |
onFailure(java.lang.String nodeText,
java.lang.String actualValue,
java.lang.String message)
Records a test failure in the report |
void |
onPass(java.lang.String nodeText,
java.lang.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(java.lang.String reportDetail)
Determines how much detail is shown in the report |
void |
setStopOnException(boolean stopOnException)
|
void |
setStopRunning(boolean stopRunning)
|
void |
setWriter(java.io.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 java.lang.String REPORT_DETAIL_ALL
public static final java.lang.String REPORT_DETAIL_PER_FIXTURE
public static final java.lang.String REPORT_DETAIL_SUMMARY
public static final java.lang.String REPORT_DETAIL_FAILURES_ONLY
Constructor Detail |
---|
public TestSuite(TestReport report)
Method Detail |
---|
public java.io.Writer getWriter()
public void setWriter(java.io.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(java.lang.String nodeText, java.lang.String message, java.lang.Throwable exception)
nodeText
- the current cell on the tablemessage
- a message to record with the exceptionexception
- the exception to recordpublic void onFailure(java.lang.String nodeText, java.lang.String actualValue, java.lang.String message)
nodeText
- the current cell text on the tableactualValue
- the value that was returned from the executionmessage
- a message to record with the failurepublic void onPass(java.lang.String nodeText, java.lang.String message)
nodeText
- the current cell text on the tablemessage
- a message to record with the passpublic void onDebug(java.lang.String nodeText, java.lang.String message)
nodeText
- the current cell text on the tablemessage
- a message to record with the passpublic java.lang.String getReportDetail()
public void setReportDetail(java.lang.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)
public java.lang.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 |