|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional public interface IterationTestPlanManagerService
Service that aims at managing the test cases of a campaign (i.e. its test plan)
| Method Summary | |
|---|---|
void |
addTestCasesToIteration(List<Long> testCaseIds,
long iterationId)
Adds a list of test cases to an iteration. |
List<IterationTestPlanItem> |
addTestPlanItemsToIteration(List<Long> testCaseIds,
Iteration iteration)
Adds a list of test cases to an iteration. |
void |
addTestPlanToIteration(List<IterationTestPlanItem> testPlan,
long iterationId)
persist each iteration_test_plan_item and add it to iteration |
void |
assignUserToTestPlanItem(Long testPlanId,
long iterationId,
Long userId)
Assign User with Execute Access to a TestPlan item. |
void |
assignUserToTestPlanItems(List<Long> testPlanIds,
long iterationId,
Long userId)
Assign User with Execute Access to a multiple TestPlan items. |
List<User> |
findAssignableUserForTestPlan(long iterationId)
Get Users with Execute Access for an Iteration and its TestPlan. |
Iteration |
findIteration(long iterationId)
Find a iteration using its id |
List<TestCaseLibrary> |
findLinkableTestCaseLibraries()
Returns a collection of TestCaseLibrary, the test cases of which may be added to the campaign |
List<TestCase> |
findPlannedTestCases(Long iterationId)
|
IterationTestPlanItem |
findTestPlanItemByTestCaseId(long iterationId,
long testCaseId)
Adds a list of test cases to a campaign. |
boolean |
removeTestPlanFromIteration(Long testPlanId,
long iterationId)
Removes a test case from an iteration except if the test plans was executed |
boolean |
removeTestPlansFromIteration(List<Long> testPlanIds,
long iterationId)
Removes a list of test cases from a campaign excepted the test plans which were executed |
boolean |
removeTestPlansFromIterationObj(List<Long> testPlanIds,
Iteration iteration)
Removes a list of test cases from an iteration excepted the test plans which were executed |
void |
updateTestCaseLastExecutedByAndOn(IterationTestPlanItem givenTestPlan,
Date lastExecutedOn,
String lastExecutedBy)
Update item test plan lastExecuted data (by and on) (for the moment they're constants) |
| Methods inherited from interface org.squashtest.csp.tm.service.IterationTestPlanFinder |
|---|
findTestPlan, findTestPlanItem |
| Method Detail |
|---|
Iteration findIteration(long iterationId)
iterationId - List<TestCaseLibrary> findLinkableTestCaseLibraries()
TestCaseLibrary, the test cases of which may be added to the campaign
void addTestCasesToIteration(List<Long> testCaseIds,
long iterationId)
testCaseIds - iterationId -
List<IterationTestPlanItem> addTestPlanItemsToIteration(List<Long> testCaseIds,
Iteration iteration)
testCaseIds - iteration -
IterationTestPlanItem findTestPlanItemByTestCaseId(long iterationId,
long testCaseId)
testCaseIdss - campaignId -
boolean removeTestPlansFromIteration(List<Long> testPlanIds,
long iterationId)
testPlanIds - the ids of the test plan managing that test case for that iterationiterationId - the id of the iteration
boolean removeTestPlansFromIterationObj(List<Long> testPlanIds,
Iteration iteration)
testPlanIds - the ids of the test plan managing that test case for that iterationiteration - the iteration
boolean removeTestPlanFromIteration(Long testPlanId,
long iterationId)
testPlanId - the id of the test plan managing that test case for that iterationiterationId -
List<TestCase> findPlannedTestCases(Long iterationId)
void updateTestCaseLastExecutedByAndOn(IterationTestPlanItem givenTestPlan,
Date lastExecutedOn,
String lastExecutedBy)
givenTestPlan - : the test plan to updateexecutionDate - : the execution dateList<User> findAssignableUserForTestPlan(long iterationId)
testCaseId - campaignId -
void assignUserToTestPlanItem(Long testPlanId,
long iterationId,
Long userId)
testCaseId - campaignId -
void assignUserToTestPlanItems(List<Long> testPlanIds,
long iterationId,
Long userId)
testPlanIds - campaignId -
void addTestPlanToIteration(List<IterationTestPlanItem> testPlan,
long iterationId)
persist each iteration_test_plan_item and add it to iteration
testPlan - iterationId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||