Class SelectTestsQuery
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.query.SelectTestsQuery
-
public class SelectTestsQuery extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelectTestsQuery.Totals
-
Field Summary
Fields Modifier and Type Field Description static String
PROCESS_TESTS_QUERY_MAX_PARAMS
static String
TESTS_WITH_STATUSES_QUERY_MAX_PARAMS
-
Constructor Summary
Constructors Constructor Description SelectTestsQuery()
-
Method Summary
-
-
-
Field Detail
-
TESTS_WITH_STATUSES_QUERY_MAX_PARAMS
public static final String TESTS_WITH_STATUSES_QUERY_MAX_PARAMS
- See Also:
- Constant Field Values
-
PROCESS_TESTS_QUERY_MAX_PARAMS
public static final String PROCESS_TESTS_QUERY_MAX_PARAMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTestsWithStatuses
@NotNull public static Map<Long,List<TestRunTuple>> getTestsWithStatuses(@NotNull SQLRunnerEx runner, @NotNull Collection<Long> buildIds, @NotNull Collection<Status> statuses, boolean fromArchive)
-
getNumberOfUniqueTestsInBuilds
public static int getNumberOfUniqueTestsInBuilds(@NotNull SQLRunnerEx runner, @NotNull Collection<Long> buildIds, boolean considerArchivedTests)
-
getTotalTestsDurationInBuilds
public static long getTotalTestsDurationInBuilds(@NotNull SQLRunnerEx runner, @NotNull Collection<Long> buildIds, boolean fromArchive)
-
getTotalsForNonCompositeBuildWithoutGrouping
@NotNull public static SelectTestsQuery.Totals getTotalsForNonCompositeBuildWithoutGrouping(@NotNull SQLRunnerEx sqlRunner, long buildId, boolean fromArchive)
-
getTotalsForNonCompositeBuildWithGrouping
@NotNull public static SelectTestsQuery.Totals getTotalsForNonCompositeBuildWithGrouping(@NotNull SQLRunnerEx sqlRunner, long buildId, boolean fromArchive)
-
getTestsWithNames
@NotNull public static List<TestRunTuple> getTestsWithNames(long buildId, @NotNull Collection<Long> testNameIds, @NotNull DBFunctions dbf)
-
processTestsWithNames
public static boolean processTestsWithNames(@NotNull Collection<Long> buildIds, @NotNull Collection<Long> testNameIds, @NotNull BiProcessor<Long,TestRunTuple> buildTestsProcessor, @NotNull SQLRunnerEx sqlRunner, boolean fromArchive)
-
getHasTests
public static boolean getHasTests(@NotNull SQLRunnerEx runner, @NotNull Collection<Long> buildIds)
-
-