Interface FailedTestsStorage
-
- All Known Implementing Classes:
FailedTestsStorageImpl
public interface FailedTestsStorage
- Since:
- 2020.2
- Author:
- kir
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static FailedTestsStorage
createInstence(SQLRunnerEx sqlRunner, ExecutorServices executorServices)
FailedTestInfo
findFailedTest(long buildId, long testNameId)
Map<Long,gnu.trove.TLongHashSet>
getFailedTestIds(Collection<Long> buildIds)
Return map buildId to set of failed testNameIds in this buildMap<Long,FailedTestInfo>
getFailedTests(long buildId)
void
markTestFailed(long buildId, long testNameId, int testId)
void
markTestSuccessful(long buildId, long testNameId)
void
updateFromTestRuns(long buildId, List<STestRun> tests)
-
-
-
Method Detail
-
getFailedTests
@NotNull Map<Long,FailedTestInfo> getFailedTests(long buildId)
-
findFailedTest
@Nullable FailedTestInfo findFailedTest(long buildId, long testNameId)
-
getFailedTestIds
@NotNull Map<Long,gnu.trove.TLongHashSet> getFailedTestIds(Collection<Long> buildIds)
Return map buildId to set of failed testNameIds in this build- Parameters:
buildIds
-- Returns:
- see above
-
markTestFailed
void markTestFailed(long buildId, long testNameId, int testId)
-
markTestSuccessful
void markTestSuccessful(long buildId, long testNameId)
-
createInstence
static FailedTestsStorage createInstence(@NotNull SQLRunnerEx sqlRunner, @NotNull ExecutorServices executorServices)
-
-