| Package | Description |
|---|---|
| com.atlassian.bamboo.resultsummary.tests |
| Modifier and Type | Method and Description |
|---|---|
TestCase |
TestCase.copyTestCase()
Creates a copy of the
TestCase. |
TestCase |
TestCaseDao.findById(long testCaseId)
Find a specific testCase by id
|
TestCase |
TestCaseResult.getTestCase() |
TestCase |
TestsManager.getTestCaseById(long testCaseId)
Find a specific testCase by id
|
| Modifier and Type | Method and Description |
|---|---|
List<TestCase> |
TestCaseDao.getAllTestCasesWithExpiredQuarantine()
Returns a list of all
test cases that are marked as quarantined, but their quarantine has
expired. |
List<TestCase> |
TestQuarantineManager.getCurrentlyQuarantinedTests(ImmutableChain chain)
Get a list of
TestCase of all the tests currently quarantined for a given plan |
List<TestCase> |
TestQuarantineManager.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
|
List<TestCase> |
TestsManager.getLongestRunningTestCases(ImmutablePlan plan)
Provide a list of the top ten longest running tests for a plan, based on the duration of the TestCase's
TestCaseResults
Finds top 10 results in order (longest first)
|
List<TestCase> |
TestCaseDao.getLongestRunningTestCasesForPlan(ImmutablePlan plan)
Provide a list of the top ten longest running tests for a plan, based on the duration of the TestCase's
TestCaseResults
Finds top 10 results in order (longest first)
|
List<Pair<TestCase,Float>> |
TestsManager.getLongestToFixTestCases(ImmutablePlan plan)
Retrieve a list of the test cases that have taken the longest amount of time to fix.
|
List<Pair<TestCase,Float>> |
TestsManager.getLongestToFixTestCases(List<BuildResultsSummary> buildResults)
Retrieve a list of the test cases that have taken the longest amount of time to fix.
|
List<Pair<TestCase,Integer>> |
TestsManager.getMostFailingTestCases(ImmutablePlan plan)
Provide a list of the top 10 most failing test cases for a plan.
|
List<Pair<TestCase,Integer>> |
TestsManager.getMostFailingTestCases(List<BuildResultsSummary> buildResults)
Provide a list of the top 10 most failing test cases for a plan.
|
List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForChain(ImmutableChain chain)
Provide a list of the quarantined tests for a job
|
List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForJob(ImmutableJob job)
Provide a list of the quarantined tests for a job
|
List<TestCase> |
TestClass.getTestCases()
Retrieve the TestCases that are part of this class.
|
List<Pair<TestCase,Integer>> |
TestsManager.getTopBrokenTests(PlanKey planKey,
BuildResultsFilter filter)
Returns a pai of the top 10 tests that's broken + the count for a given filter period
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestClass.addTest(TestCase testCase)
Add a testCase to this group
|
static boolean |
TestQuarantineHelper.contains(Set<String> quarantinedTests,
TestCase testCase) |
List<Pair<TestCaseResult,Integer>> |
TestsManager.getLastNFailingResults(TestCase testCase,
int number)
Retrieve the last n failing testResults for this given test case, latest first.
|
List<Pair<TestCaseResult,Integer>> |
TestsManager.getLastNFailingResults(TestCase testCase,
List<BuildResultsSummary> buildResults,
int number)
Retrieve the last n failing testResults for this given test case, but only those that occurred within the provided
build results.
|
List<Pair<TestCaseResult,Integer>> |
TestCaseResultDao.getLastNFailingResultsForTestCase(TestCase testCase,
int number)
Retrieve the last n failing testResults for this given test case, latest first.
|
List<Pair<TestCaseResult,Integer>> |
TestCaseResultDao.getLastNFailingResultsForTestCaseAndBuildResults(TestCase testCase,
List<BuildResultsSummary> buildResults,
int number)
Retrieve the last n failing testResults for this given test case, but only those that occurred within the provided
build results.
|
List<TestCaseResultStatisticsProvider> |
TestsManager.getResultStatistics(TestCase testCase)
Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case, for use by e.g.
|
List<TestCaseResultStatisticsProvider> |
TestsManager.getResultStatistics(TestCase testCase,
List<BuildResultsSummary> buildResults)
Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case and contained within a specific
span of build result summaries.
|
List<TestCaseResultStatisticsProvider> |
TestCaseResultDao.getResultStatisticsForTestCase(TestCase testCase)
Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case, for use by e.g.
|
List<TestCaseResultStatisticsProvider> |
TestCaseResultDao.getResultStatisticsForTestCaseAndBuilds(TestCase testCase,
List<BuildResultsSummary> buildResults)
Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case and contained within a specific
span of build result summaries.
|
BuildResultsSummary |
TestsManager.getSucceedingSinceBuildResultSummary(TestCase testCase)
Find the build in which the given test has been successful since.
|
BuildResultsSummary |
TestCaseResultDao.getSucceedingSinceBuildResultSummary(TestCase testCase)
Find the build in which the given test has been successful since.
|
TestCaseResult |
TestsManager.getTestCaseResult(TestCase testCase,
long buildNumber)
Deprecated.
since 3.3 use
TestsManager.getTestCaseResults(TestCase, long) |
TestCaseResult |
TestCaseResultDao.getTestCaseResult(TestCase testCase,
long buildNumber)
Deprecated.
since 3.3 use
TestCaseResultDao.getTestCaseResults(TestCase, long) |
List<TestCaseResult> |
TestsManager.getTestCaseResults(TestCase testCase,
long buildNumber)
Find a specific run of a testCase
|
List<TestCaseResult> |
TestCaseResultDao.getTestCaseResults(TestCase testCase,
long buildNumber)
Find a specific run of a testCase
|
List<TestCaseResult> |
TestCaseResultDao.getTestCaseResultsForTestCase(TestCase testCase)
Return a list of TestCaseResults for a given TestCase
|
List<TestCaseResult> |
TestCaseResultDao.getTestCaseResultsForTestCaseAndBuilds(TestCase testCase,
List<BuildResultsSummary> buildResults)
Return a list of TestCaseResults for a given TestCase constrained to a specific set of Build Result Summaries
|
void |
TestsManager.saveTestCase(TestCase testCase)
Save an individual TestCase to the database
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TestQuarantineHelper.put(com.google.common.collect.ImmutableMap.Builder<String,String> customBuildDataBuilder,
List<TestCase> quarantinedTests) |
long |
TestCaseDao.scrollTestCasesForExport(com.google.common.base.Function<TestCase,Void> function)
Scroll through and execute function for each of TestCase records
Objects passed to function are not fully initialized.
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.