|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestCaseDao
| Method Summary | |
|---|---|
long |
countByVerifiedRequirementVersion(long verifiedId)
|
long |
countCallingTestSteps(long testCaseId)
Counts the calling test steps of a test case |
List<TestCase> |
findAllByIdList(List<Long> testCaseIds)
|
List<TestCase> |
findAllByIdListNonOrdered(List<Long> testCaseIds)
|
List<TestCaseLibraryNode> |
findAllByNameContaining(String tokenInName,
boolean groupByProject)
Finds all TestCaseLibraryNode which name contains the given token. |
List<TestCase> |
findAllByRequirement(RequirementSearchCriteria criteria,
boolean isProjectOrdered)
Returns the test cases associated with at least a requirement that meets the criteria |
List<TestCase> |
findAllByVerifiedRequirementVersion(long verifiedId,
org.squashtest.csp.core.infrastructure.collection.PagingAndSorting sorting)
Returns paged and sorted collection of test cases verifying the requirement version of given id. |
List<TestCase> |
findAllCallingTestCases(long testCaseId,
CollectionSorting sorting)
returns the ids of all the test cases having at least one call test step referencing the given test case. |
List<TestStep> |
findAllStepsByIdFiltered(long testCaseId,
CollectionFilter filter)
|
List<Long> |
findAllTestCasesIdsCalledByTestCase(long testCaseId)
Finds all the ids of the test cases called by a given test case. |
List<Long> |
findAllTestCasesIdsCalledByTestCases(List<Long> testCasesIds)
Finds all the ids of the test cases called by a given list of test cases. |
TestCase |
findAndInit(Long testCaseId)
|
TestCase |
findByIdWithInitializedSteps(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. |
List<Long> |
findDistinctTestCasesIdsCalledByTestCase(Long testCaseId)
|
List<String> |
findNamesInFolderStartingWith(long folderId,
String nameStart)
|
List<String> |
findNamesInLibraryStartingWith(long libraryId,
String nameStart)
|
TestCase |
findTestCaseByTestStepId(long testStepId)
This method returns the test step's associated TestCase |
List<Long> |
findTestCasesHavingCaller(Collection<Long> testCasesIds)
Given a list of test case ids, returns a sublist of the test case ids. |
List<Object[]> |
findTestCasesHavingCallerDetails(Collection<Long> testCaseIds)
Given a list of test case ids, returns a list of the following structure : - caller id (null if no match), - caller name (null if no match), - called id, - called name Note that only first-level callers will be included if found, additional invokations will be needed to fetch all the hierarchy. |
List<ActionTestStep> |
getTestCaseSteps(Long testCaseId)
|
| Methods inherited from interface org.squashtest.csp.tm.internal.repository.EntityDao |
|---|
findById, flush, persist, persist, remove |
| Method Detail |
|---|
TestCase findAndInit(Long testCaseId)
List<ActionTestStep> getTestCaseSteps(Long testCaseId)
List<TestCase> findAllByIdList(List<Long> testCaseIds)
findAllByIdList in interface EntityDao<TestCase>List<TestCase> findAllByIdListNonOrdered(List<Long> testCaseIds)
List<String> findNamesInFolderStartingWith(long folderId,
String nameStart)
List<String> findNamesInLibraryStartingWith(long libraryId,
String nameStart)
TestCase findByIdWithInitializedSteps(long testCaseId)
List<TestStep> findAllStepsByIdFiltered(long testCaseId,
CollectionFilter filter)
List<TestCaseLibraryNode> findAllByNameContaining(String tokenInName,
boolean groupByProject)
TestCaseLibraryNode which name contains the given token.
tokenInName - groupByProject -
TestCase findTestCaseByTestStepId(long testStepId)
testStepId - the test step id
long countCallingTestSteps(long testCaseId)
testCaseId -
List<Long> findTestCasesHavingCaller(Collection<Long> testCasesIds)
testCaseIds - the list of test case ids under inquiry.
List<Object[]> findTestCasesHavingCallerDetails(Collection<Long> testCaseIds)
testCaseIds - the list of test case ids under inquiry.
List<Long> findAllTestCasesIdsCalledByTestCase(long testCaseId)
testCaseId -
List<Long> findDistinctTestCasesIdsCalledByTestCase(Long testCaseId)
List<Long> findAllTestCasesIdsCalledByTestCases(List<Long> testCasesIds)
testCaseId -
List<TestCase> findAllCallingTestCases(long testCaseId,
CollectionSorting sorting)
testCaseId - the id of the test case.sorting - the sorting attributes and the like.
List<TestCase> findAllByRequirement(RequirementSearchCriteria criteria,
boolean isProjectOrdered)
criteria - the requirement search criteriaisProjectOrdered - if set to true, the list of test case is ordered by project
List<Long> findCalledTestCaseOfCallSteps(List<Long> testStepsIds)
testStepsIds -
List<TestCase> findAllByVerifiedRequirementVersion(long verifiedId,
org.squashtest.csp.core.infrastructure.collection.PagingAndSorting sorting)
verifierId - sorting -
long countByVerifiedRequirementVersion(long verifiedId)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||