Class 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
    • Constructor Detail

      • TestCaseReport

        public TestCaseReport()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getTime

        public long getTime()
      • addTest

        public void addTest​(TestReport test)
      • getTestCases

        public 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()