public interface CustomTestCaseModificationService extends CustomTestCaseFinder
| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_CASE_IS_WRITABLE |
| Modifier and Type | Method and Description |
|---|---|
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,
int index) |
org.squashtest.tm.domain.testcase.ActionTestStep |
addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
Adds an action test step to a test case, and its initial custom field values.
|
org.squashtest.tm.domain.testcase.ActionTestStep |
addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues,
int index)
Adds an action test step to a test case, and its initial custom field values, inserted at the index value
The initial custom field values are passed as a Map
CustomField to the values of the corresponding CustomFieldValue. |
org.squashtest.tm.domain.testcase.TestCase |
addNewTestCaseVersion(long originalTcId,
org.squashtest.tm.domain.testcase.TestCase newVersionData)
Will create a new version of a test case and insert it next to it.
|
org.squashtest.tm.domain.testautomation.AutomatedTest |
bindAutomatedTest(Long testCaseId,
Long taProjectId,
String testName) |
org.squashtest.tm.domain.testautomation.AutomatedTest |
bindAutomatedTest(Long testCaseId,
String testPath)
Essentially the same than
bindAutomatedTest(Long, Long, String). |
void |
bindMilestones(long testCaseId,
Collection<Long> milestoneIds) |
void |
changeImportance(long testCaseId,
org.squashtest.tm.domain.testcase.TestCaseImportance importance) |
void |
changeImportanceAuto(long testCaseId,
boolean auto)
will change the test case importance too if auto is true.
|
void |
changeNature(long testCaseId,
String natureCode) |
void |
changeReference(long testCaseId,
String reference) |
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.
|
void |
changeType(long testCaseId,
String typeCode) |
Collection<TestAutomationProjectContent> |
findAssignableAutomationTests(long testCaseId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAssociableMilestones(long testCaseId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAssociableMilestonesForMassModif(List<Long> testCaseIds) |
Collection<Long> |
findBindedMilestonesIdForMassModif(List<Long> testCaseIds) |
boolean |
haveSamePerimeter(List<Long> testCaseIds) |
boolean |
pasteCopiedTestStep(long testCaseId,
long idInsertion,
long copiedTestStepId)
will insert a test step into a test case script, after the step identified by idInsertion.
|
boolean |
pasteCopiedTestSteps(long testCaseId,
long idInsertion,
List<Long> copiedTestStepIds)
Same as
pasteCopiedTestStep(long, long, long), accepting a list of step ids |
boolean |
pasteCopiedTestStepToLastIndex(long testCaseId,
List<Long> copiedTestStepIds)
Same as
pasteCopiedTestStepToLastIndex(long, long), accepting a list of step ids |
boolean |
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
|
List<org.squashtest.tm.domain.testcase.TestStep> |
removeListOfSteps(long testCaseId,
List<Long> testStepIds) |
void |
removeStepFromTestCase(long testCaseId,
long testStepId) |
void |
removeStepFromTestCaseByIndex(long testCaseId,
int stepIndex) |
void |
rename(long testCaseId,
String newName) |
void |
unbindMilestones(long testCaseId,
Collection<Long> milestoneIds) |
void |
updateTestStepAction(long testStepId,
String newAction) |
void |
updateTestStepExpectedResult(long testStepId,
String newExpectedResult) |
findAllByAncestorIds, findAllCallingTestCases, findAllCallingTestSteps, findAllMilestones, findCallingTCids, findCallingTestCases, findCallingTestSteps, findImpTCWithImpAuto, findStepsByTestCaseId, findStepsByTestCaseIdFiltered, findTestCaseFromStep, findTestCaseWithStepsstatic final String TEST_CASE_IS_WRITABLE
void rename(long testCaseId,
String newName)
void changeReference(long testCaseId,
String reference)
void changeImportance(long testCaseId,
org.squashtest.tm.domain.testcase.TestCaseImportance importance)
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,
int index)
org.squashtest.tm.domain.testcase.ActionTestStep addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.libraryId - testCase - customFieldValues - org.squashtest.tm.domain.testcase.ActionTestStep addActionTestStep(long parentTestCaseId,
org.squashtest.tm.domain.testcase.ActionTestStep newTestStep,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues,
int index)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.libraryId - testCase - customFieldValues - index - 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 removeStepFromTestCaseByIndex(long testCaseId,
int stepIndex)
List<org.squashtest.tm.domain.testcase.TestStep> removeListOfSteps(long testCaseId, List<Long> testStepIds)
boolean pasteCopiedTestStep(long testCaseId,
long idInsertion,
long copiedTestStepId)
testCaseId - the id of the test case.idInsertion - the id of the step after which we'll insert the copy of a stepcopiedTestStepId - the id of the testStep to copy.boolean pasteCopiedTestStepToLastIndex(long testCaseId,
long copiedTestStepId)
testCaseId - the id of the test case.copiedTestStepId - the id of the testStep to copy.boolean pasteCopiedTestSteps(long testCaseId,
long idInsertion,
List<Long> copiedTestStepIds)
pasteCopiedTestStep(long, long, long), accepting a list of step idstestCaseId - idInsertion - copiedTestStepIds - boolean pasteCopiedTestStepToLastIndex(long testCaseId,
List<Long> copiedTestStepIds)
pasteCopiedTestStepToLastIndex(long, long), accepting a list of step idstestCaseId - copiedTestStepIds - void changeImportanceAuto(long testCaseId,
boolean auto)
testCaseId - auto - org.squashtest.tm.domain.testcase.TestCase addNewTestCaseVersion(long originalTcId,
org.squashtest.tm.domain.testcase.TestCase newVersionData)
originalTcId - newVersionData - Collection<TestAutomationProjectContent> findAssignableAutomationTests(long testCaseId)
org.squashtest.tm.domain.testautomation.AutomatedTest bindAutomatedTest(Long testCaseId, Long taProjectId, String testName)
org.squashtest.tm.domain.testautomation.AutomatedTest bindAutomatedTest(Long testCaseId, String testPath)
bindAutomatedTest(Long, Long, String). The single argument (the testPath) is the concatenation
of the TA project label and the test name.testCaseId - testPath - void removeAutomation(long testCaseId)
testCaseId - void changeNature(long testCaseId,
String natureCode)
void changeType(long testCaseId,
String typeCode)
void bindMilestones(long testCaseId,
Collection<Long> milestoneIds)
void unbindMilestones(long testCaseId,
Collection<Long> milestoneIds)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestones(long testCaseId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForMassModif(List<Long> testCaseIds)
Collection<Long> findBindedMilestonesIdForMassModif(List<Long> testCaseIds)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.