|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional public interface CustomTestCaseModificationService
| Method Summary | |
|---|---|
TestStep |
addActionTestStep(long parentTestCaseId,
ActionTestStep newTestStep)
|
void |
changeTestStepPosition(long testCaseId,
long testStepId,
int newStepPosition)
Deprecated. |
void |
changeTestStepsPosition(long testCaseId,
int newPosition,
List<Long> stepIds)
Will move a list of steps to a new position. |
org.squashtest.csp.core.infrastructure.collection.PagedCollectionHolder<List<RequirementVersion>> |
findAllDirectlyVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pas)
Returns the filtered list of RequirementVersions directly verified by a test case. |
org.squashtest.csp.core.infrastructure.collection.PagedCollectionHolder<List<VerifiedRequirement>> |
findAllVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pas)
Deprecated. not used ? |
TestCase |
findById(long testCaseId)
|
FilteredCollectionHolder<List<TestCase>> |
findCallingTestCases(long testCaseId,
CollectionSorting sorting)
That method returns the list of test cases having at least one CallTestStep directly calling the test case identified by testCaseId. |
List<TestStep> |
findStepsByTestCaseId(long testCaseId)
|
FilteredCollectionHolder<List<TestStep>> |
findStepsByTestCaseIdFiltered(long testCaseId,
CollectionFilter filter)
|
TestCase |
findTestCaseWithSteps(long testCaseId)
|
void |
pasteCopiedTestStep(Long testCaseId,
Long idToCopyAfter,
Long copiedTestStepId)
will insert a test step into a test case script, possibly after a step (the position), given their Ids. |
void |
removeListOfSteps(long testCaseId,
List<Long> testStepIds)
|
void |
removeStepFromTestCase(long testCaseId,
long testStepId)
|
void |
rename(long testCaseId,
String newName)
|
void |
updateTestStepAction(long testStepId,
String newAction)
|
void |
updateTestStepExpectedResult(long testStepId,
String newExpectedResult)
|
| Method Detail |
|---|
@Transactional(readOnly=true) TestCase findById(long testCaseId)
@Transactional(readOnly=true) TestCase findTestCaseWithSteps(long testCaseId)
@Transactional(readOnly=true) List<TestStep> findStepsByTestCaseId(long testCaseId)
@Transactional(readOnly=true)
FilteredCollectionHolder<List<TestStep>> findStepsByTestCaseIdFiltered(long testCaseId,
CollectionFilter filter)
void rename(long testCaseId,
String newName)
TestStep addActionTestStep(long parentTestCaseId,
ActionTestStep newTestStep)
void updateTestStepAction(long testStepId,
String newAction)
void updateTestStepExpectedResult(long testStepId,
String newExpectedResult)
@Deprecated
void changeTestStepPosition(long testCaseId,
long testStepId,
int newStepPosition)
void changeTestStepsPosition(long testCaseId,
int newPosition,
List<Long> stepIds)
testCaseId - the id of the test casenewPosition - the position we want the first element of movedSteps to be once the operation is completemovedSteps - the list of steps to move, sorted by rank among each others.
void removeStepFromTestCase(long testCaseId,
long testStepId)
void removeListOfSteps(long testCaseId,
List<Long> testStepIds)
@Transactional(readOnly=true)
org.squashtest.csp.core.infrastructure.collection.PagedCollectionHolder<List<RequirementVersion>> findAllDirectlyVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pas)
RequirementVersions directly verified by a test case.
testCaseId - filter -
@Deprecated
@Transactional(readOnly=true)
org.squashtest.csp.core.infrastructure.collection.PagedCollectionHolder<List<VerifiedRequirement>> findAllVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pas)
testCaseId - pas -
@Transactional(readOnly=true)
FilteredCollectionHolder<List<TestCase>> findCallingTestCases(long testCaseId,
CollectionSorting sorting)
testCaseId - the Id of the called test case.sorting - the sorting parameters.
void pasteCopiedTestStep(Long testCaseId,
Long idToCopyAfter,
Long copiedTestStepId)
testCaseId - the id of the test case.idToCopyAfter - the id of the step after which we'll insert the copy of a step, may be null.copiedTestStepId - the id of the testStep to copy.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||