public class TestCaseHibernateDao extends BambooHibernateObjectDao<TestCase> implements TestCaseDao
| Constructor and Description |
|---|
TestCaseHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
int |
countCurrentlyQuarantinedTests(ImmutableChain chain) |
long |
countTestCases() |
TestCase |
findById(long testCaseId) |
List<TestCase> |
getAllTestCasesWithExpiredQuarantine() |
List<TestCase> |
getLongestRunningTestCasesForPlan(ImmutablePlan plan) |
List<Pair<Long,Float>> |
getLongestToFixTestCasesForBuildResults(List<BuildResultsSummary> buildResults) |
List<Pair<Long,Float>> |
getLongestToFixTestCasesForPlan(PlanIdentifier plan) |
List<Pair<Long,Integer>> |
getMostFailingTestCasesForBuildResults(List<BuildResultsSummary> buildResults) |
List<Pair<Long,Integer>> |
getMostFailingTestCasesForPlan(PlanIdentifier plan) |
List<TestCase> |
getQuarantinedTestCasesForChain(ImmutableChain chain) |
List<TestCase> |
getQuarantinedTestCasesForJob(ImmutableJob job) |
List<Pair<Long,Integer>> |
getTopBrokenTests(PlanKey planKey,
com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter filter) |
long |
scrollTestCasesForExport(com.google.common.base.Function<TestCase,Void> function) |
countAll, countWithRestriction, delete, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllpublic TestCase findById(long testCaseId)
findById in interface TestCaseDao@NotNull public List<TestCase> getLongestRunningTestCasesForPlan(@NotNull ImmutablePlan plan)
getLongestRunningTestCasesForPlan in interface TestCaseDao@NotNull public List<TestCase> getQuarantinedTestCasesForChain(@NotNull ImmutableChain chain)
getQuarantinedTestCasesForChain in interface TestCaseDaopublic int countCurrentlyQuarantinedTests(ImmutableChain chain)
countCurrentlyQuarantinedTests in interface TestCaseDao@NotNull public List<TestCase> getQuarantinedTestCasesForJob(@NotNull ImmutableJob job)
getQuarantinedTestCasesForJob in interface TestCaseDao@NotNull public List<Pair<Long,Integer>> getMostFailingTestCasesForPlan(@NotNull PlanIdentifier plan)
getMostFailingTestCasesForPlan in interface TestCaseDao@NotNull public List<Pair<Long,Integer>> getMostFailingTestCasesForBuildResults(@NotNull List<BuildResultsSummary> buildResults)
getMostFailingTestCasesForBuildResults in interface TestCaseDao@NotNull public List<Pair<Long,Float>> getLongestToFixTestCasesForPlan(@NotNull PlanIdentifier plan)
getLongestToFixTestCasesForPlan in interface TestCaseDao@NotNull public List<Pair<Long,Float>> getLongestToFixTestCasesForBuildResults(@NotNull List<BuildResultsSummary> buildResults)
getLongestToFixTestCasesForBuildResults in interface TestCaseDao@NotNull public List<Pair<Long,Integer>> getTopBrokenTests(@NotNull PlanKey planKey, com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter filter)
getTopBrokenTests in interface TestCaseDaopublic long countTestCases()
countTestCases in interface TestCaseDaopublic long scrollTestCasesForExport(@NotNull
com.google.common.base.Function<TestCase,Void> function)
scrollTestCasesForExport in interface TestCaseDao@NotNull public List<TestCase> getAllTestCasesWithExpiredQuarantine()
getAllTestCasesWithExpiredQuarantine in interface TestCaseDaoCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.