net.thucydides.core.statistics.dao
Class HibernateTestOutcomeHistoryDAO
java.lang.Object
net.thucydides.core.statistics.dao.HibernateTestOutcomeHistoryDAO
- All Implemented Interfaces:
- TestOutcomeHistoryDAO
public class HibernateTestOutcomeHistoryDAO
- extends Object
- implements TestOutcomeHistoryDAO
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityManagerFactory
protected javax.persistence.EntityManagerFactory entityManagerFactory
HibernateTestOutcomeHistoryDAO
@Inject
public HibernateTestOutcomeHistoryDAO(javax.persistence.EntityManagerFactory entityManagerFactory,
EnvironmentVariables environmentVariables,
TagProviderService tagProviderService,
SystemClock clock)
findAll
public List<TestRun> findAll()
- Specified by:
findAll in interface TestOutcomeHistoryDAO
findTestRunsByTitle
public List<TestRun> findTestRunsByTitle(String title)
- Specified by:
findTestRunsByTitle in interface TestOutcomeHistoryDAO
storeTestOutcomes
public void storeTestOutcomes(List<TestOutcome> testOutcomes)
- Specified by:
storeTestOutcomes in interface TestOutcomeHistoryDAO
storeTestOutcome
public void storeTestOutcome(TestOutcome testOutcome)
- Specified by:
storeTestOutcome in interface TestOutcomeHistoryDAO
findTagsMatching
public List<TestRunTag> findTagsMatching(TestRunTag tag)
- Specified by:
findTagsMatching in interface TestOutcomeHistoryDAO
deleteAll
public void deleteAll()
- Specified by:
deleteAll in interface TestOutcomeHistoryDAO
countTestRunsByTitle
public Long countTestRunsByTitle(String title)
- Specified by:
countTestRunsByTitle in interface TestOutcomeHistoryDAO
countTestRunsByTitleAndResult
public Long countTestRunsByTitleAndResult(String title,
TestResult result)
- Specified by:
countTestRunsByTitleAndResult in interface TestOutcomeHistoryDAO
findAllTags
public List<TestRunTag> findAllTags()
- Specified by:
findAllTags in interface TestOutcomeHistoryDAO
getLatestTagsForTestWithTitleByTitle
public List<TestRunTag> getLatestTagsForTestWithTitleByTitle(String title)
- Specified by:
getLatestTagsForTestWithTitleByTitle in interface TestOutcomeHistoryDAO
getResultsTestWithTitle
public List<TestResult> getResultsTestWithTitle(String title)
- Specified by:
getResultsTestWithTitle in interface TestOutcomeHistoryDAO
getResultsForTestsWithTag
public List<TestResult> getResultsForTestsWithTag(String tag)
- Specified by:
getResultsForTestsWithTag in interface TestOutcomeHistoryDAO
getResultsForTestsWithTagType
public List<TestResult> getResultsForTestsWithTagType(String tagType)
- Specified by:
getResultsForTestsWithTagType in interface TestOutcomeHistoryDAO
countTestRunsByTag
public Long countTestRunsByTag(String tag)
- Specified by:
countTestRunsByTag in interface TestOutcomeHistoryDAO
countTestRunsByTagType
public Long countTestRunsByTagType(String tagType)
- Specified by:
countTestRunsByTagType in interface TestOutcomeHistoryDAO
countTestRunsByTagAndResult
public Long countTestRunsByTagAndResult(String tag,
TestResult result)
- Specified by:
countTestRunsByTagAndResult in interface TestOutcomeHistoryDAO
countTestRunsByTagTypeAndResult
public Long countTestRunsByTagTypeAndResult(String tagType,
TestResult result)
- Specified by:
countTestRunsByTagTypeAndResult in interface TestOutcomeHistoryDAO
getLatestTagsForTestsWithTag
public List<TestRunTag> getLatestTagsForTestsWithTag(String tag)
- Specified by:
getLatestTagsForTestsWithTag in interface TestOutcomeHistoryDAO
getLatestTagsForTestsWithTagType
public List<TestRunTag> getLatestTagsForTestsWithTagType(String tagType)
- Specified by:
getLatestTagsForTestsWithTagType in interface TestOutcomeHistoryDAO
findAllTagTypes
public List<String> findAllTagTypes()
- Specified by:
findAllTagTypes in interface TestOutcomeHistoryDAO
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.