Uses of Interface
com.atlassian.bamboo.resultsummary.tests.TestCase
Package
Description
-
Uses of TestCase in com.atlassian.bamboo.build.tests
Modifier and TypeMethodDescriptionTestCaseForDisplay.getTestCase()
ViewTestCaseAction.getTestCase()
Modifier and TypeMethodDescriptionViewTestsSummary.getLongestRunningTests()
ViewTestsSummaryForPlan.getLongestRunningTests()
ViewTestsSummary.getLongestTimeToFixTests()
ViewTestsSummaryForPlan.getLongestTimeToFixTests()
Modifier and TypeMethodDescriptionViewTestsSummary.getRecentFailures
(TestCase testCase, int number) ViewTestsSummaryForPlan.getRecentFailures
(TestCase testCase, int number) ModifierConstructorDescriptionFailingTestCaseForDisplay
(TestCase testCase, Long failuresCount, ImmutableJob job) TestCaseForDisplay
(TestCase testCase, ImmutableJob job) -
Uses of TestCase in com.atlassian.bamboo.charts
ModifierConstructorDescriptionTestCaseBuildTimesChart
(int height, int width, String chartTitle, String xAxisLabel, String yAxisLabel, TestCase testCase, List<TestCaseResultStatisticsProvider> results) -
Uses of TestCase in com.atlassian.bamboo.event
Modifier and TypeMethodDescriptionTestQuarantinedEvent.getTestCase()
TestUnquarantinedEvent.getTestCase()
ModifierConstructorDescriptionTestQuarantinedEvent
(TestCase testCase, com.atlassian.user.User user, Date quarantineDate) TestUnquarantinedEvent
(@NotNull TestCase testCase, @Nullable com.atlassian.user.User user, @NotNull Date date) -
Uses of TestCase in com.atlassian.bamboo.resultsummary.tests
Modifier and TypeFieldDescriptionstatic javax.persistence.metamodel.CollectionAttribute<TestClassImpl,
TestCase> TestClassImpl_.testCaseCollection
static javax.persistence.metamodel.ListAttribute<TestClassImpl,
TestCase> TestClassImpl_.testCases
static javax.persistence.metamodel.SetAttribute<TestClassImpl,
TestCase> TestClassImpl_.testCasesSet
Modifier and TypeMethodDescription@NotNull TestCase
TestCase.copyTestCase()
Creates a copy of theTestCase
.@NotNull TestCase
TestCaseImpl.copyTestCase()
@Nullable TestCase
TestCaseDao.findById
(long testCaseId) Find a specific testCase by idTestCaseHibernateDao.findById
(long testCaseId) TestCaseResult.getTestCase()
TestCaseResultImpl.getTestCase()
@Nullable TestCase
TestsManager.getTestCaseById
(long testCaseId) Find a specific testCase by id@Nullable TestCase
TestsManagerImpl.getTestCaseById
(long testCaseId) Modifier and TypeMethodDescriptionTestCaseDao.getAllTestCasesWithExpiredQuarantine()
Deprecated.since 9.5TestCaseHibernateDao.getAllTestCasesWithExpiredQuarantine()
TestQuarantineManager.getCurrentlyQuarantinedTests
(@NotNull ImmutableChain chain) Get a list ofTestCase
of all the tests currently quarantined for a given planTestQuarantineManager.getCurrentlyQuarantinedTests
(@NotNull 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 configTestQuarantineManagerImpl.getCurrentlyQuarantinedTests
(@NotNull ImmutableChain chain) TestQuarantineManagerImpl.getCurrentlyQuarantinedTests
(@NotNull ImmutableJob job) TestsManager.getLongestRunningTestCases
(@NotNull 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)TestsManagerImpl.getLongestRunningTestCases
(@NotNull ImmutablePlan plan) TestCaseDao.getLongestRunningTestCasesForPlan
(@NotNull 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)TestCaseHibernateDao.getLongestRunningTestCasesForPlan
(@NotNull ImmutablePlan plan) TestsManager.getLongestToFixTestCases
(@NotNull ImmutablePlan plan) Retrieve a list of the test cases that have taken the longest amount of time to fix.TestsManager.getLongestToFixTestCases
(@NotNull List<BuildResultsSummary> buildResults) Retrieve a list of the test cases that have taken the longest amount of time to fix.TestsManagerImpl.getLongestToFixTestCases
(@NotNull ImmutablePlan plan) TestsManagerImpl.getLongestToFixTestCases
(@NotNull List<BuildResultsSummary> buildResults) TestsManager.getMostFailingTestCases
(@NotNull ImmutablePlan plan) Provide a list of the top 10 most failing test cases for a plan.TestsManager.getMostFailingTestCases
(@NotNull List<BuildResultsSummary> buildResults) Provide a list of the top 10 most failing test cases for a plan.TestsManagerImpl.getMostFailingTestCases
(@NotNull ImmutablePlan plan) TestsManagerImpl.getMostFailingTestCases
(@NotNull List<BuildResultsSummary> buildResults) TestCaseDao.getQuarantinedTestCasesForChain
(@NotNull ImmutableChain chain) Provide a list of the quarantined tests for a jobTestCaseHibernateDao.getQuarantinedTestCasesForChain
(@NotNull ImmutableChain chain) TestCaseDao.getQuarantinedTestCasesForJob
(@NotNull ImmutableJob job) Provide a list of the quarantined tests for a jobTestCaseHibernateDao.getQuarantinedTestCasesForJob
(@NotNull ImmutableJob job) @NotNull Collection<TestCase>
TestClass.getTestCaseCollection()
Retrieve the TestCases that are part of this class.@NotNull Collection<TestCase>
TestClassImpl.getTestCaseCollection()
TestClass.getTestCases()
Deprecated.since 8.1 use {TestClass.getTestCaseCollection()
} instead.TestClassImpl.getTestCases()
TestsDao.getTestClassesMapForPlan
(Plan plan, long masterJobId, int cutoffBuildNumber) Retrieve all test classes attached to a specific plan in a build later or equal to cutoffBuildNumber.TestsHibernateDao.getTestClassesMapForPlan
(Plan plan, long masterJobId, int cutoffBuildNumber) TestsManager.getTopBrokenTests
(@NotNull PlanKey planKey, BuildResultsFilter filter) Returns a pai of the top 10 tests that's broken + the count for a given filter periodTestsManagerImpl.getTopBrokenTests
(@NotNull PlanKey planKey, BuildResultsFilter filter) Modifier and TypeMethodDescriptionvoid
Add a testCase to this groupvoid
void
TestCaseMapper.afterImportListItem
(@NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor, @NotNull List<TestCase> list, @NotNull TestCase object, long objectIndex, @NotNull org.hibernate.Session session) int
static boolean
protected void
TestCaseMapper.exportProperties
(@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, @NotNull TestCase testCase, @NotNull org.hibernate.Session session, ExportDetailsBean exportDetailsBean) @NotNull List<Pair<TestCaseResult,
Integer>> TestsManager.getLastNFailingResults
(@NotNull TestCase testCase, int number) Retrieve the last n failing testResults for this given test case, latest first.@NotNull List<Pair<TestCaseResult,
Integer>> TestsManager.getLastNFailingResults
(@NotNull TestCase testCase, @NotNull 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.@NotNull List<Pair<TestCaseResult,
Integer>> TestsManagerImpl.getLastNFailingResults
(@NotNull TestCase testCase, int number) @NotNull List<Pair<TestCaseResult,
Integer>> TestsManagerImpl.getLastNFailingResults
(@NotNull TestCase testCase, @NotNull List<BuildResultsSummary> buildResults, int number) @NotNull List<Pair<TestCaseResult,
Integer>> TestCaseResultDao.getLastNFailingResultsForTestCase
(@NotNull TestCase testCase, int number) Retrieve the last n failing testResults for this given test case, latest first.@NotNull List<Pair<TestCaseResult,
Integer>> TestCaseResultHibernateDao.getLastNFailingResultsForTestCase
(@NotNull TestCase testCase, int number) @NotNull List<Pair<TestCaseResult,
Integer>> TestCaseResultDao.getLastNFailingResultsForTestCaseAndBuildResults
(@NotNull TestCase testCase, @NotNull 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.@NotNull List<Pair<TestCaseResult,
Integer>> TestCaseResultHibernateDao.getLastNFailingResultsForTestCaseAndBuildResults
(@NotNull TestCase testCase, @NotNull List<BuildResultsSummary> buildResults, int number) @NotNull List<TestCaseResultStatisticsProvider>
TestsManager.getResultStatistics
(@NotNull TestCase testCase) Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case, for use by e.g.@NotNull List<TestCaseResultStatisticsProvider>
TestsManager.getResultStatistics
(@NotNull TestCase testCase, @NotNull 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.@NotNull List<TestCaseResultStatisticsProvider>
TestsManagerImpl.getResultStatistics
(@NotNull TestCase testCase) @NotNull List<TestCaseResultStatisticsProvider>
TestsManagerImpl.getResultStatistics
(@NotNull TestCase testCase, @NotNull List<BuildResultsSummary> buildResults) @NotNull List<TestCaseResultStatisticsProvider>
TestCaseResultDao.getResultStatisticsForTestCase
(@NotNull TestCase testCase) Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case, for use by e.g.@NotNull List<TestCaseResultStatisticsProvider>
TestCaseResultHibernateDao.getResultStatisticsForTestCase
(@NotNull TestCase testCase) @NotNull List<TestCaseResultStatisticsProvider>
TestCaseResultDao.getResultStatisticsForTestCaseAndBuilds
(@NotNull TestCase testCase, @NotNull 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.@NotNull List<TestCaseResultStatisticsProvider>
TestCaseResultHibernateDao.getResultStatisticsForTestCaseAndBuilds
(@NotNull TestCase testCase, @NotNull List<BuildResultsSummary> buildResults) @Nullable BuildResultsSummary
TestCaseResultDao.getSucceedingSinceBuildResultSummary
(TestCase testCase) Find the build in which the given test has been successful since.TestCaseResultHibernateDao.getSucceedingSinceBuildResultSummary
(TestCase testCase) @Nullable BuildResultsSummary
TestsManager.getSucceedingSinceBuildResultSummary
(TestCase testCase) Find the build in which the given test has been successful since.@Nullable BuildResultsSummary
TestsManagerImpl.getSucceedingSinceBuildResultSummary
(TestCase testCase) @NotNull List<TestCaseResult>
TestCaseResultDao.getTestCaseResults
(TestCase testCase, long buildNumber) Find a specific run of a testCase@NotNull List<TestCaseResult>
TestCaseResultHibernateDao.getTestCaseResults
(TestCase testCase, long buildNumber) @NotNull List<TestCaseResult>
TestsManager.getTestCaseResults
(TestCase testCase, long buildNumber) Find a specific run of a testCase@NotNull List<TestCaseResult>
TestsManagerImpl.getTestCaseResults
(TestCase testCase, long buildNumber) @NotNull List<TestCaseResult>
TestCaseResultDao.getTestCaseResultsForTestCase
(@NotNull TestCase testCase) Return a list of TestCaseResults for a given TestCase@NotNull List<TestCaseResult>
TestCaseResultHibernateDao.getTestCaseResultsForTestCase
(@NotNull TestCase testCase) @NotNull List<TestCaseResult>
TestCaseResultDao.getTestCaseResultsForTestCaseAndBuilds
(@NotNull TestCase testCase, @NotNull List<BuildResultsSummary> buildResults) Return a list of TestCaseResults for a given TestCase constrained to a specific set of Build Result Summaries@NotNull List<TestCaseResult>
TestCaseResultHibernateDao.getTestCaseResultsForTestCaseAndBuilds
(@NotNull TestCase testCase, @NotNull List<BuildResultsSummary> buildResults) protected void
TestCaseMapper.importProperties
(@NotNull TestCase object, @NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor, @NotNull org.hibernate.Session session) void
TestsManager.saveTestCase
(TestCase testCase) Save an individual TestCase to the databasevoid
TestsManagerImpl.saveTestCase
(TestCase testCase) void
TestCaseResultImpl.setTestCase
(TestCase testCase) Modifier and TypeMethodDescriptionvoid
TestCaseMapper.afterImportListItem
(@NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor, @NotNull List<TestCase> list, @NotNull TestCase object, long objectIndex, @NotNull org.hibernate.Session session) static void
TestQuarantineHelper.put
(com.google.common.collect.ImmutableMap.Builder<String, String> customBuildDataBuilder, List<TestCase> quarantinedTests) long
TestCaseDao.scrollTestCasesForExport
(@NotNull Consumer<TestCase> consumer) Scroll through and execute function for each of TestCase records Objects passed to function are not fully initialized.long
TestCaseHibernateDao.scrollTestCasesForExport
(@NotNull Consumer<TestCase> consumer) ModifierConstructorDescriptionTestCaseIdentifier
(TestCase testCase) TestCaseResultImpl
(TestCase testCase, long duration, TestState state) TestCaseResultImpl
(TestCase testCase, long duration, TestState state, @Nullable List<TestCaseResultError> testCaseResultErrors) TestCaseResultImpl
(TestCase testCase, long duration, TestState state, @Nullable List<TestCaseResultError> testCaseResultErrors, List<String> quarantinedTests) Deprecated.since 5.7TestCaseResultImpl
(TestCase testCase, long duration, TestState state, @Nullable List<TestCaseResultError> testCaseResultErrors, Set<String> quarantinedTests) TestCaseSummaryImpl
(@NotNull TestCase testCase, @NotNull PlanKey planKey, @Nullable List<BuildResultsSummary> filteredBuildResults, TestsManager testsManager, ResultsSummaryManager resultsSummaryManager) -
Uses of TestCase in com.atlassian.bamboo.ww2.actions.chains
Modifier and TypeMethodDescriptioncom.atlassian.user.User
ViewQuarantinedTests.getQuarantiningUser
(TestCase testCase) ViewQuarantinedTests.getTestCaseHistory
(TestCase testCase) -
Uses of TestCase in com.atlassian.bamboo.ww2.actions.jira
Modifier and TypeMethodDescriptionprotected void
LinkTestToJiraIssueAction.addIssueLinkFromJiraIssueToThisBuildResult
(@NotNull com.atlassian.applinks.api.ApplicationLink applicationLink, @NotNull String issueKey, @NotNull ResultsSummary resultsSummary, @NotNull TestCase testCase) protected com.opensymphony.webwork.dispatcher.json.JSONObject
LinkTestToJiraIssueAction.createIssueLinkData
(@NotNull com.atlassian.applinks.api.ApplicationLink applicationLink, @NotNull String issueKey, @NotNull ResultsSummary resultsSummary, @NotNull TestCase testCase)