Class BuildTestsProvider
- java.lang.Object
-
- jetbrains.buildServer.serverSide.stat.BuildTestsProvider
-
public class BuildTestsProvider extends Object
-
-
Constructor Summary
Constructors Constructor Description BuildTestsProvider(SQLRunnerEx sqlRunner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IgnoredTestTuple>getIgnoredTests(Collection<SBuild> builds)intgetNumberOfUniqueTestsInBuilds(Collection<SBuild> builds)Map<Long,List<TestRunTuple>>getTestsWithStatuses(Collection<SBuild> builds, Collection<Status> statuses)List<TestRunTuple>getTestsWithStatuses(SBuild build, Collection<Status> statuses)SelectTestsQuery.TotalsgetTotalsForNonCompositeBuildWithGrouping(SBuild build)SelectTestsQuery.TotalsgetTotalsForNonCompositeBuildWithoutGrouping(SBuild build)longgetTotalTestsDurationInBuilds(Collection<SBuild> builds)booleanhasTests(SBuild build)booleanprocessTestsWithNames(Collection<SBuild> builds, Collection<Long> testNameIds, BiProcessor<Long,TestRunTuple> buildTestsProcessor)
-
-
-
Constructor Detail
-
BuildTestsProvider
public BuildTestsProvider(@NotNull SQLRunnerEx sqlRunner)
-
-
Method Detail
-
getTestsWithStatuses
@NotNull public List<TestRunTuple> getTestsWithStatuses(@NotNull SBuild build, @NotNull Collection<Status> statuses)
-
getTestsWithStatuses
@NotNull public Map<Long,List<TestRunTuple>> getTestsWithStatuses(@NotNull Collection<SBuild> builds, @NotNull Collection<Status> statuses)
-
getNumberOfUniqueTestsInBuilds
public int getNumberOfUniqueTestsInBuilds(@NotNull Collection<SBuild> builds)
-
getTotalTestsDurationInBuilds
public long getTotalTestsDurationInBuilds(@NotNull Collection<SBuild> builds)
-
getTotalsForNonCompositeBuildWithoutGrouping
@NotNull public SelectTestsQuery.Totals getTotalsForNonCompositeBuildWithoutGrouping(@NotNull SBuild build)
-
getTotalsForNonCompositeBuildWithGrouping
@NotNull public SelectTestsQuery.Totals getTotalsForNonCompositeBuildWithGrouping(@NotNull SBuild build)
-
processTestsWithNames
public boolean processTestsWithNames(@NotNull Collection<SBuild> builds, @NotNull Collection<Long> testNameIds, @NotNull BiProcessor<Long,TestRunTuple> buildTestsProcessor)
-
hasTests
public boolean hasTests(@NotNull SBuild build)
-
getIgnoredTests
@NotNull public List<IgnoredTestTuple> getIgnoredTests(@NotNull Collection<SBuild> builds)
-
-