Interface BuildTypeTests
-
- All Known Implementing Classes:
BuildTypeTestsImpl
public interface BuildTypeTests
Provides relative status of tests within a build type- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildsDeleted(Set<Long> buildIds)
Called to cleanup all data associated with given buildsvoid
clearCaches()
Clear all cache dataFirstFailedInCache
getFirstFailedInCache()
Long2StatusCollection
getRawCachedTests(long buildId)
Map<Long,SBuild>
getTestsFixedBy(SBuild fixer)
boolean
hasBuildsWithTests()
void
processTestHistoryBefore(SBuild build, BuildTestsProcessor processor)
-
-
-
Method Detail
-
processTestHistoryBefore
void processTestHistoryBefore(@NotNull SBuild build, @NotNull BuildTestsProcessor processor)
-
getTestsFixedBy
Map<Long,SBuild> getTestsFixedBy(SBuild fixer)
- Parameters:
fixer
- build which fixes some tests- Returns:
- a map from testNameId to first failure of the test, given that test is fixed in build 'fixer'
-
hasBuildsWithTests
boolean hasBuildsWithTests()
- Returns:
- true if this build type has at least one build with tests
-
getFirstFailedInCache
@Nullable FirstFailedInCache getFirstFailedInCache()
-
getRawCachedTests
@Nullable Long2StatusCollection getRawCachedTests(long buildId)
-
buildsDeleted
void buildsDeleted(Set<Long> buildIds)
Called to cleanup all data associated with given builds- Parameters:
buildIds
- build identifiers
-
clearCaches
void clearCaches()
Clear all cache data
-
-