public class TestCaseSummaryImpl extends Object implements TestCaseSummary
Constructor and Description |
---|
TestCaseSummaryImpl(@NotNull TestCase testCase,
@NotNull PlanKey planKey,
@Nullable List<BuildResultsSummary> filteredBuildResults,
TestsManager testsManager,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
float |
getAverageElapsedBuilds()
Calculates the average number of builds between fixes.
|
long |
getAverageElapsedTime()
Returns the averag etime in milliseconds it takes for builds to be fixed
|
int |
getCountFailingSince() |
BuildResultsSummary |
getFailingSinceBuild() |
@Nullable String |
getFailingSinceBuildKey()
Just returns the key of the failing since build, just in case the buildResult doesn't exist anymore, e.g.
|
@NotNull List<FailurePeriod> |
getFailurePeriods() |
@Nullable BuildResultsSummary |
getLastRanBuild() |
@Nullable TestCaseResult |
getLastTestCaseResult() |
PlanKey |
getPlanKey() |
@Nullable BuildResultsSummary |
getSucceedingSinceBuild() |
public TestCaseSummaryImpl(@NotNull @NotNull TestCase testCase, @NotNull @NotNull PlanKey planKey, @Nullable @Nullable List<BuildResultsSummary> filteredBuildResults, TestsManager testsManager, ResultsSummaryManager resultsSummaryManager)
@Nullable public @Nullable TestCaseResult getLastTestCaseResult()
getLastTestCaseResult
in interface TestCaseSummary
@Nullable public @Nullable BuildResultsSummary getLastRanBuild()
getLastRanBuild
in interface TestCaseSummary
public BuildResultsSummary getFailingSinceBuild()
getFailingSinceBuild
in interface TestCaseSummary
@Nullable public @Nullable String getFailingSinceBuildKey()
TestCaseSummary
getFailingSinceBuildKey
in interface TestCaseSummary
public int getCountFailingSince()
getCountFailingSince
in interface TestCaseSummary
@Nullable public @Nullable BuildResultsSummary getSucceedingSinceBuild()
getSucceedingSinceBuild
in interface TestCaseSummary
@NotNull public @NotNull List<FailurePeriod> getFailurePeriods()
getFailurePeriods
in interface TestCaseSummary
public long getAverageElapsedTime()
getAverageElapsedTime
in interface TestCaseSummary
public float getAverageElapsedBuilds()
getAverageElapsedBuilds
in interface TestCaseSummary
public PlanKey getPlanKey()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.