|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestQuarantineManager
Manager for manipulating all things test quarantine related
Field Summary | |
---|---|
static java.lang.String |
QUARANTINE_TEST_KEY
|
Method Summary | |
---|---|
java.util.List<TestCase> |
getCurrentlyQuarantinedTests(ImmutableChain chain)
Get a list of TestCase of all the tests currently quarantined for a given plan |
java.util.List<TestCase> |
getCurrentlyQuarantinedTests(ImmutableJob job)
Get a list of TestClass and TestCase names of all the tests currently quarantined for a given job In string form for use in the BuildContext custom config |
java.util.List<TestCaseResult> |
getQuarantinedTestsListForBuildResult(BuildResultsSummary buildResultsSummary)
Returns List of TestCaseResult that are quarantined for a given build result. |
java.util.List<TestCaseResult> |
getQuarantinedTestsListForChainResult(ChainResultsSummary chainResultsSummary)
Get a list of TestCase of all the tests quarantined for a given chain result |
void |
quarantineTest(long testId,
com.atlassian.user.User user,
java.util.Date date)
Quarantines a given test |
void |
unleashTest(long testId)
Unleash a given test |
Field Detail |
---|
static final java.lang.String QUARANTINE_TEST_KEY
Method Detail |
---|
void quarantineTest(long testId, @NotNull com.atlassian.user.User user, @NotNull java.util.Date date)
testId
- - Id of the required test caseuser
- - @NotNull User quarantining testdate
- - date of test quarantinevoid unleashTest(long testId)
testId
- - ID of required test case@Nullable java.util.List<TestCase> getCurrentlyQuarantinedTests(@NotNull ImmutableJob job)
job
- to get quarantined tests for
TestCase
@Nullable java.util.List<TestCase> getCurrentlyQuarantinedTests(@NotNull ImmutableChain chain)
TestCase
of all the tests currently quarantined for a given plan
chain
- - the chain representing a plan to get quarantined tests for
TestCase
@Nullable java.util.List<TestCaseResult> getQuarantinedTestsListForChainResult(@NotNull ChainResultsSummary chainResultsSummary)
TestCase
of all the tests quarantined for a given chain result
chainResultsSummary
- - results summary of the build you need quarantined tests for
TestCase
of all the tests quarantined for a chain result@NotNull java.util.List<TestCaseResult> getQuarantinedTestsListForBuildResult(@NotNull BuildResultsSummary buildResultsSummary)
List
of TestCaseResult
that are quarantined for a given build result.
buildResultsSummary
- - results summary of the build you need quarantined tests for
List
of TestCaseResult
. Empty list if no quarantined tests
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |