com.atlassian.confluence.renderer.radeox.macros.junit.report
Class TestCaseReport
java.lang.Object
com.atlassian.confluence.renderer.radeox.macros.junit.report.AbstractTestReport
com.atlassian.confluence.renderer.radeox.macros.junit.report.TestCaseReport
- All Implemented Interfaces:
- TestReport
- Direct Known Subclasses:
- JUnitTestCaseReport
public class TestCaseReport
- extends AbstractTestReport
Encapsulates a Test Case that can have child test cases. The Testcase report is used to
record test passes failure and exceptions so that reports can be generated.
- Author:
- Armond Avanes (armond555@yahoo.com), Ross Mason
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestCaseReport
public TestCaseReport()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getTime
public long getTime()
getFailure
public TestCaseFailureReport getFailure()
- Specified by:
getFailure
in interface TestReport
- Overrides:
getFailure
in class AbstractTestReport
setFailure
public void setFailure(TestCaseFailureReport failure)
- Specified by:
setFailure
in interface TestReport
- Overrides:
setFailure
in class AbstractTestReport
addTest
public void addTest(TestReport test)
getTestCases
public java.util.List getTestCases()
getTopErrorsCount
public int getTopErrorsCount()
getErrorsCount
public int getErrorsCount()
getTopFailuresCount
public int getTopFailuresCount()
getFailuresCount
public int getFailuresCount()
getTotalTestsCount
public int getTotalTestsCount()
getTestsCount
public int getTestsCount()
getCurrentTest
public TestReport getCurrentTest()
stopTimer
public void stopTimer()
isTimerStopped
public boolean isTimerStopped()
Copyright © 2003-2014 Atlassian. All Rights Reserved.