Class TestClassResultImpl

    • Constructor Detail

      • TestClassResultImpl

        public TestClassResultImpl()
    • Method Detail

      • setTestClass

        protected void setTestClass​(TestClass testClass)
      • getDuration

        public long getDuration()
        Description copied from interface: TestClassResult
        The total running time (in milliseconds) for this class (cumulation of all TestCaseResults durations)
        Specified by:
        getDuration in interface TestClassResult
        Returns:
        total running time for this TestClass
      • setDuration

        public void setDuration​(long duration)
        Description copied from interface: TestClassResult
        Set how long this testClassResult took.
        Specified by:
        setDuration in interface TestClassResult
        Parameters:
        duration - - time in milliseconds
      • getTestCaseResults

        @NotNull
        public @NotNull List<TestCaseResult> getTestCaseResults()
        Description copied from interface: TestClassResult
        Retrieve the TestCaseResults contained within this TestClassResult
        Specified by:
        getTestCaseResults in interface TestClassResult
        Returns:
        the TestCaseResults contained within this TestClassResult
      • getTestCaseResultsSet

        @NotNull
        public @NotNull Set<TestCaseResult> getTestCaseResultsSet()
        Description copied from interface: TestClassResult
        Retrieve the TestCaseResults contained within this TestClassResult
        Specified by:
        getTestCaseResultsSet in interface TestClassResult
        Returns:
        the TestCaseResults contained within this TestClassResult
      • getFailedTestCount

        public int getFailedTestCount()
        Specified by:
        getFailedTestCount in interface TestClassResult
        Returns:
        Number of failed TestCaseResults in this TestClassResult
      • setFailedTestCount

        public void setFailedTestCount​(int failedTestCount)
        Description copied from interface: TestClassResult
        Set the number of failing tests in this group
        Specified by:
        setFailedTestCount in interface TestClassResult
        Parameters:
        failedTestCount - - number of failed tests in this group
      • getSuccessfulTestCount

        public int getSuccessfulTestCount()
        Specified by:
        getSuccessfulTestCount in interface TestClassResult
        Returns:
        Number of successful TestCaseResults in this TestClassResult
      • setSuccessfulTestCount

        public void setSuccessfulTestCount​(int successfulTestCount)
        Description copied from interface: TestClassResult
        Set the number of successful tests in this group
        Specified by:
        setSuccessfulTestCount in interface TestClassResult
        Parameters:
        successfulTestCount - - number of successful tests in this group
      • getSkippedTestCount

        public int getSkippedTestCount()
        Specified by:
        getSkippedTestCount in interface TestClassResult
        Returns:
        Number of skipped TestCaseResults in this TestClassResult.
      • setSkippedTestCount

        public void setSkippedTestCount​(int skippedTestCount)
        Description copied from interface: TestClassResult
        Set the number of skipped tests in this group
        Specified by:
        setSkippedTestCount in interface TestClassResult
        Parameters:
        skippedTestCount - - number of skipped tests in this group
      • setBuildResultsSummary

        public void setBuildResultsSummary​(BuildResultsSummary buildResultsSummary)
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.atlassian.core.bean.EntityObject
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.atlassian.core.bean.EntityObject