|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.resultsummary.tests.TestQuarantineManagerImpl
public class TestQuarantineManagerImpl
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.resultsummary.tests.TestQuarantineManager |
---|
QUARANTINE_TEST_KEY |
Constructor Summary | |
---|---|
TestQuarantineManagerImpl(TestsDao testsDao,
TestResultsDao testResultsDao,
TestsManager testsManager)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestQuarantineManagerImpl(TestsDao testsDao, TestResultsDao testResultsDao, TestsManager testsManager)
Method Detail |
---|
public void quarantineTest(long testId, @NotNull com.atlassian.user.User user, @NotNull java.util.Date date)
TestQuarantineManager
quarantineTest
in interface TestQuarantineManager
testId
- - Id of the required test caseuser
- - @NotNull User quarantining testdate
- - date of test quarantinepublic void unleashTest(long testId)
TestQuarantineManager
unleashTest
in interface TestQuarantineManager
testId
- - ID of required test case@NotNull public java.util.List<TestCase> getCurrentlyQuarantinedTests(@NotNull ImmutableChain chain)
TestQuarantineManager
TestCase
of all the tests currently quarantined for a given plan
getCurrentlyQuarantinedTests
in interface TestQuarantineManager
chain
- - the chain representing a plan to get quarantined tests for
TestCase
@Nullable public java.util.List<TestCaseResult> getQuarantinedTestsListForChainResult(@NotNull ChainResultsSummary chainResultsSummary)
TestQuarantineManager
TestCase
of all the tests quarantined for a given chain result
getQuarantinedTestsListForChainResult
in interface TestQuarantineManager
chainResultsSummary
- - results summary of the build you need quarantined tests for
TestCase
of all the tests quarantined for a chain result@NotNull public java.util.List<TestCaseResult> getQuarantinedTestsListForBuildResult(@NotNull BuildResultsSummary buildResultsSummary)
TestQuarantineManager
List
of TestCaseResult
that are quarantined for a given build result.
getQuarantinedTestsListForBuildResult
in interface TestQuarantineManager
buildResultsSummary
- - results summary of the build you need quarantined tests for
List
of TestCaseResult
. Empty list if no quarantined tests@NotNull public java.util.List<TestCase> getCurrentlyQuarantinedTests(@NotNull ImmutableJob job)
TestQuarantineManager
getCurrentlyQuarantinedTests
in interface TestQuarantineManager
job
- to get quarantined tests for
TestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |