Package jetbrains.buildServer.serverSide
Class TestRunWithContext
- java.lang.Object
-
- jetbrains.buildServer.serverSide.BaseTestRun
-
- jetbrains.buildServer.serverSide.TestRunWithContext
-
- Direct Known Subclasses:
LightweightTestRunImpl,TestRunImpl
public abstract class TestRunWithContext extends BaseTestRun
Base class for routines used in TestRunImpl and LightweightTestRunImpl- Since:
- 8.0
- Author:
- Sergey Pak
-
-
Field Summary
Fields Modifier and Type Field Description static StringIGNORE_BUILD_STATISTICS_ERRORSprotected BooleanmyNewFailureprotected TestRunContextmyTestRunContext-
Fields inherited from interface jetbrains.buildServer.serverSide.STestRun
NEW_FIRST_NAME_COMPARATOR
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTestRunWithContext(TestRunContext testRunContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckStatisticsErrors()protected FirstFailedInFixedInCalculatorcreateHistoryDataCalculator()protected SBuildfindBuild(long buildId)booleanisNewFailure()Returns whether this test is failed and it was not failed in previous buildsbooleanisNewFailureComputed()protected FirstFailedInFixedInCalculator.FFIDataloadFFIData()voidsetNewFailure(Boolean newFailure)-
Methods inherited from class jetbrains.buildServer.serverSide.BaseTestRun
getFailedInvocationCount, getFirstFailedTestRunId, getInvocationCount, getMetadata, getStatusText, isIgnored, isMuted, setFixedInId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.STestRun
getBuild, getBuildId, getDuration, getFailureInfo, getFirstFailed, getFixedIn, getFullText, getIgnoreComment, getMuteInfo, getOrderId, getStatus, getTest, getTestRunId, isFixed, setFirstFailedIn, setFixedIn
-
Methods inherited from interface jetbrains.buildServer.serverSide.TestRunEx
getBuildOrNull, setBuild, setMuteInfo
-
-
-
-
Field Detail
-
IGNORE_BUILD_STATISTICS_ERRORS
public static final String IGNORE_BUILD_STATISTICS_ERRORS
- See Also:
- Constant Field Values
-
myNewFailure
@Nullable protected volatile Boolean myNewFailure
-
myTestRunContext
protected final TestRunContext myTestRunContext
-
-
Constructor Detail
-
TestRunWithContext
protected TestRunWithContext(TestRunContext testRunContext)
-
-
Method Detail
-
setNewFailure
public void setNewFailure(@NotNull Boolean newFailure)
-
isNewFailureComputed
public boolean isNewFailureComputed()
-
isNewFailure
public boolean isNewFailure()
Description copied from interface:STestRunReturns whether this test is failed and it was not failed in previous builds- Returns:
- true if this test is failed and it was not failed in previous builds
-
loadFFIData
@NotNull protected FirstFailedInFixedInCalculator.FFIData loadFFIData()
-
createHistoryDataCalculator
@NotNull protected FirstFailedInFixedInCalculator createHistoryDataCalculator()
-
checkStatisticsErrors
protected boolean checkStatisticsErrors()
-
findBuild
@Nullable protected SBuild findBuild(long buildId)
-
-