Class AbstractTestReport
- java.lang.Object
-
- com.atlassian.confluence.renderer.radeox.macros.junit.report.AbstractTestReport
-
- All Implemented Interfaces:
TestReport
- Direct Known Subclasses:
TestCaseReport
,TestSuiteReport
public abstract class AbstractTestReport extends Object implements TestReport
-
-
Field Summary
Fields Modifier and Type Field Description protected String
debugMessage
protected TestCaseFailureReport
failure
protected String
passMessage
-
Constructor Summary
Constructors Constructor Description AbstractTestReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDebugMessage()
int
getErrorRate()
TestCaseFailureReport
getFailure()
int
getFailureRate()
String
getPassMessage()
int
getSuccessRate()
String
getTimeAsString()
void
setDebugMessage(String debugMessage)
void
setFailure(TestCaseFailureReport failure)
void
setPassMessage(String passMessage)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.renderer.radeox.macros.junit.report.TestReport
addTest, getCurrentTest, getErrorsCount, getFailuresCount, getName, getTestCases, getTestsCount, getTime, setName
-
-
-
-
Field Detail
-
passMessage
protected String passMessage
-
debugMessage
protected String debugMessage
-
failure
protected TestCaseFailureReport failure
-
-
Method Detail
-
getSuccessRate
public int getSuccessRate()
- Specified by:
getSuccessRate
in interfaceTestReport
-
getErrorRate
public int getErrorRate()
- Specified by:
getErrorRate
in interfaceTestReport
-
getFailureRate
public int getFailureRate()
- Specified by:
getFailureRate
in interfaceTestReport
-
getPassMessage
public String getPassMessage()
- Specified by:
getPassMessage
in interfaceTestReport
-
setPassMessage
public void setPassMessage(String passMessage)
- Specified by:
setPassMessage
in interfaceTestReport
-
getDebugMessage
public String getDebugMessage()
- Specified by:
getDebugMessage
in interfaceTestReport
-
setDebugMessage
public void setDebugMessage(String debugMessage)
- Specified by:
setDebugMessage
in interfaceTestReport
-
getFailure
public TestCaseFailureReport getFailure()
- Specified by:
getFailure
in interfaceTestReport
-
setFailure
public void setFailure(TestCaseFailureReport failure)
- Specified by:
setFailure
in interfaceTestReport
-
getTimeAsString
public String getTimeAsString()
-
-