public interface CustomTestCaseDao extends EntityDao<org.squashtest.tm.domain.testcase.TestCase>
| Modifier and Type | Method and Description |
|---|---|
long |
countByVerifiedRequirementVersion(long verifiedId) |
List<org.squashtest.tm.domain.testcase.TestCase> |
findAllByVerifiedRequirementVersion(long verifiedId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
Returns paged and sorted collection of test cases verifying the requirement version of given id.
|
List<org.squashtest.tm.domain.testcase.TestCase> |
findAllCallingTestCases(long calleeId)
return all test cases having at least one call test step referencing the given test case.
|
List<org.squashtest.tm.domain.testcase.TestCase> |
findAllCallingTestCases(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
returns the test cases having at least one call test step referencing the given test case.
|
List<org.squashtest.tm.domain.testcase.CallTestStep> |
findAllCallingTestSteps(long testCaseId)
invokes #findAllCallingTestSteps, sorting by project name, test case reference, test case name and step no
|
List<org.squashtest.tm.domain.testcase.CallTestStep> |
findAllCallingTestSteps(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
returns all the call test step that reference the test case given its id.
|
List<org.squashtest.tm.domain.execution.Execution> |
findAllExecutionByTestCase(Long tcId)
Returns all the execution associated to this test-case
|
List<org.squashtest.tm.domain.testcase.TestCase> |
findAllLinkedToIteration(List<Long> nodeIds)
Return all test-cases that are linked to an iteration-test-plan-item
|
List<org.squashtest.tm.domain.testcase.TestStep> |
findAllStepsByIdFiltered(long testCaseId,
org.squashtest.tm.core.foundation.collection.Paging filter) |
List<Long> |
findAllTestCaseIdsByNodeIds(Collection<Long> nodeIds) |
Map<Long,org.squashtest.tm.domain.testcase.TestCaseImportance> |
findAllTestCaseImportanceWithImportanceAuto(Collection<Long> testCaseIds)
Will return all ids and importanceof test cases among the given ones that have the property importanceAuto to true.
|
List<Long> |
findAllTestCasesIdsCalledByTestCases(Collection<Long> testCasesIds)
Finds all the ids of the test cases called by a given list of test cases.
|
List<Long> |
findAllTestCasesIdsCallingTestCases(List<Long> testCasesIds)
Finds all the ids of the test cases that are calling the ones matching the testCasesIds parameter
|
org.squashtest.tm.domain.testcase.TestCase |
findAndInit(Long testCaseId) |
List<Long> |
findCalledTestCaseOfCallSteps(List<Long> testStepsIds)
Returns the test cases ids first called by the call steps found in the list of given test steps ids.
|
org.squashtest.tm.domain.testcase.TestCase |
findTestCaseByTestStepId(long testStepId)
This method returns the test step's associated TestCase
|
List<org.squashtest.tm.domain.NamedReferencePair> |
findTestCaseCallsDownstream(Collection<Long> testCaseIds)
Given a list of test case ids, returns data about those test cases and which test cases they do call.
|
List<org.squashtest.tm.domain.NamedReferencePair> |
findTestCaseCallsUpstream(Collection<Long> testCaseIds)
Given a list of test case ids, returns data about those test cases and which test cases called them.
|
List<Long> |
findTestCasesHavingCaller(Collection<Long> testCasesIds)
Given a list of test case ids, returns a sublist of the test case ids.
|
List<org.squashtest.tm.domain.testcase.ExportTestCaseData> |
findTestCaseToExportFromNodes(List<Long> nodesIds) |
List<org.squashtest.tm.domain.testcase.TestStep> |
findTestSteps(long testCaseId)
Given a test case id, return its steps ordered by their index
|
List<org.squashtest.tm.domain.testcase.TestCase> |
findUnsortedAllByVerifiedRequirementVersion(long requirementId)
Returns unsorted collection of test cases verifying the requirement version of given id.
|
void |
persistTestCaseAndSteps(org.squashtest.tm.domain.testcase.TestCase testCase)
That method exists because hibernate doesn't quite respect the cascade persist for a set of test case and steps
|
void |
safePersist(org.squashtest.tm.domain.testcase.TestCase testCase)
if the transient test case has steps, will invoke
persistTestCaseAndSteps(TestCase) else, will just save
it. |
findAll, findAllByIds, findByIdvoid persistTestCaseAndSteps(org.squashtest.tm.domain.testcase.TestCase testCase)
void safePersist(org.squashtest.tm.domain.testcase.TestCase testCase)
persistTestCaseAndSteps(TestCase) else, will just save
it.org.squashtest.tm.domain.testcase.TestCase findAndInit(Long testCaseId)
List<org.squashtest.tm.domain.testcase.TestStep> findTestSteps(long testCaseId)
List<Long> findAllTestCaseIdsByNodeIds(Collection<Long> nodeIds)
org.squashtest.tm.domain.testcase.TestCase findTestCaseByTestStepId(long testStepId)
testStepId - the test step idList<Long> findTestCasesHavingCaller(Collection<Long> testCasesIds)
testCasesIds - the list of test case ids under inquiry.List<org.squashtest.tm.domain.NamedReferencePair> findTestCaseCallsUpstream(Collection<Long> testCaseIds)
Note that only first-level callers will be included if found, additional invokations will be needed to fetch all the hierarchy.
testCaseIds - the list of test case ids under inquiry.List<org.squashtest.tm.domain.NamedReferencePair> findTestCaseCallsDownstream(Collection<Long> testCaseIds)
Note that only first-level callers will be included if found, additional invokations will be needed to fetch all the hierarchy.
testCaseIds - the list of test case ids under inquiry.List<Long> findAllTestCasesIdsCalledByTestCases(Collection<Long> testCasesIds)
List<Long> findAllTestCasesIdsCallingTestCases(List<Long> testCasesIds)
testCasesIds - : the ids of the called test casesList<org.squashtest.tm.domain.testcase.TestCase> findAllCallingTestCases(long testCaseId, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
testCaseId - the id of the test case.sorting - the sorting attributes and the like.List<org.squashtest.tm.domain.testcase.TestCase> findAllCallingTestCases(long calleeId)
calleeId - the id of the called test caseList<org.squashtest.tm.domain.testcase.CallTestStep> findAllCallingTestSteps(long testCaseId, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
findAllCallingTestCases(long, PagingAndSorting),
the paging and sorting can sort on attributes that belong to the caller
TestCasesList<org.squashtest.tm.domain.testcase.CallTestStep> findAllCallingTestSteps(long testCaseId)
List<Long> findCalledTestCaseOfCallSteps(List<Long> testStepsIds)
List<org.squashtest.tm.domain.testcase.TestCase> findAllByVerifiedRequirementVersion(long verifiedId, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
long countByVerifiedRequirementVersion(long verifiedId)
List<org.squashtest.tm.domain.testcase.TestCase> findUnsortedAllByVerifiedRequirementVersion(long requirementId)
List<org.squashtest.tm.domain.execution.Execution> findAllExecutionByTestCase(Long tcId)
List<org.squashtest.tm.domain.testcase.ExportTestCaseData> findTestCaseToExportFromNodes(List<Long> nodesIds)
List<org.squashtest.tm.domain.testcase.TestCase> findAllLinkedToIteration(List<Long> nodeIds)
List<org.squashtest.tm.domain.testcase.TestStep> findAllStepsByIdFiltered(long testCaseId, org.squashtest.tm.core.foundation.collection.Paging filter)
Map<Long,org.squashtest.tm.domain.testcase.TestCaseImportance> findAllTestCaseImportanceWithImportanceAuto(Collection<Long> testCaseIds)
testCaseIds - : the ids of the testCases to filterCopyright © 2010–2017 Henix, henix.fr. All rights reserved.