|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomTestCaseModificationService
Test-Case modification services which cannot be dynamically generated.
| Method Summary | |
|---|---|
org.squashtest.tm.domain.testcase.ActionTestStep |
addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep)
|
org.squashtest.tm.domain.testcase.ActionTestStep |
addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep,
Map<Long,String> customFieldValues)
Adds an action test step to a test case, and its initial custom field values. |
org.squashtest.tm.domain.testautomation.AutomatedTest |
bindAutomatedTest(Long testCaseId,
Long taProjectId,
String testName)
|
void |
changeImportanceAuto(long testCaseId,
boolean auto)
will change the test case importance too if auto is true. |
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. |
Collection<TestAutomationProjectContent> |
findAssignableAutomationTests(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 |
pasteCopiedTestStepToLastIndex(long testCaseId,
long copiedTestStepId)
will insert a test step into a test case script at the last position |
void |
removeAutomation(long testCaseId)
Will delete the link |
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)
|
| Methods inherited from interface org.squashtest.tm.service.testcase.CustomTestCaseFinder |
|---|
findAllByAncestorIds, findAllCallingTestCases, findCallingTestCases, findStepsByTestCaseId, findStepsByTestCaseIdFiltered, findTestCaseFromStep, findTestCaseWithSteps |
| Method Detail |
|---|
void rename(long testCaseId,
String newName)
org.squashtest.tm.domain.testcase.ActionTestStep addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep)
org.squashtest.tm.domain.testcase.ActionTestStep addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep,
Map<Long,String> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.
libraryId - testCase - customFieldValues -
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)
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.
void pasteCopiedTestStepToLastIndex(long testCaseId,
long copiedTestStepId)
testCaseId - the id of the test case.copiedTestStepId - the id of the testStep to copy.
void changeImportanceAuto(long testCaseId,
boolean auto)
testCaseId - auto - Collection<TestAutomationProjectContent> findAssignableAutomationTests(long testCaseId)
org.squashtest.tm.domain.testautomation.AutomatedTest bindAutomatedTest(Long testCaseId,
Long taProjectId,
String testName)
void removeAutomation(long testCaseId)
testCaseId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||