public interface IterationTestPlanManagerService extends IterationTestPlanFinder
| Modifier and Type | Method and Description |
|---|---|
void |
addTestCasesToIteration(List<Long> testCaseIds,
long iterationId)
Adds a list of test cases to an iteration.
|
void |
addTestCaseToIteration(Long testCaseId,
Long datasetId,
long iterationId)
Will add the given test case, with the given test plan, to the test plan of the given iteration.
|
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> |
addTestPlanItemsToIteration(List<Long> testCaseIds,
org.squashtest.tm.domain.campaign.Iteration iteration)
Adds a list of test cases to an iteration.
|
void |
addTestPlanToIteration(List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> testPlan,
long iterationId)
persist each iteration_test_plan_item and add it to iteration
|
void |
assignUserToTestPlanItem(long testPlanItemId,
long userId)
Assign User with Execute Access to a TestPlan item.
|
void |
assignUserToTestPlanItems(List<Long> testPlanIds,
long userId)
Assign User with Execute Access to a multiple TestPlan items.
|
void |
changeDataset(long itemId,
Long datasetId)
Attach a dataset to an item.
|
void |
changeTestPlanPosition(long iterationId,
int newPosition,
List<Long> itemIds) |
void |
copyTestPlanItems(List<Long> iterationTestPlanIds,
long iterationId)
Will copy each items into the test plan of the given iteration.
|
Collection<org.squashtest.tm.domain.campaign.IterationTestPlanItem> |
createTestPlanFragment(org.squashtest.tm.domain.testcase.TestCase testCase,
org.squashtest.tm.domain.users.User assignee)
Creates a fragment of test plan, containing either :
a unique item when the test case is not parameterized
one item per dataset when the test case is parameterized
Note : The returned test plan fragment is in a transient state.
|
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedIterationTestPlanItem>> |
findAssignedTestPlan(long iterationId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
Returns an iteration filtered for a specific user.
|
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> |
forceExecutionStatus(List<Long> testPlanIds,
String statusName)
Assigns an execution status to each test plan item matching the given ids.
|
List<org.squashtest.tm.domain.execution.ExecutionStatus> |
getExecutionStatusList() |
boolean |
removeTestPlanFromIteration(long testPlanItemId)
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,
org.squashtest.tm.domain.campaign.Iteration iteration)
Removes a list of test cases from an iteration excepted the test plans which were executed
|
void |
reorderTestPlan(long iterationId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting) |
void |
updateMetadata(org.squashtest.tm.domain.campaign.IterationTestPlanItem item)
Will update the item test plan execution metadata using the last execution data.
|
findAssignableUserForTestPlan, findByReferencedTestCase, findLinkableTestCaseLibraries, findPlannedTestCases, findTestPlan, findTestPlanItem, findTestPlanItemsorg.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedIterationTestPlanItem>> findAssignedTestPlan(long iterationId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting, org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
iterationId - void addTestCasesToIteration(List<Long> testCaseIds, long iterationId)
Id annotation is used by PreventConcurrent, BatchPreventConcurrent and PreventConcurrents in sub classesvoid addTestCaseToIteration(Long testCaseId, Long datasetId, long iterationId)
Id annotation is used by PreventConcurrent, BatchPreventConcurrent and PreventConcurrents in sub classestestCaseId - datasetId, - may be nulliterationId - List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> addTestPlanItemsToIteration(List<Long> testCaseIds, org.squashtest.tm.domain.campaign.Iteration iteration)
testCaseIds - iteration - void copyTestPlanItems(List<Long> iterationTestPlanIds, long iterationId)
iterationTestPlanIds - iterationId - void changeTestPlanPosition(long iterationId,
int newPosition,
List<Long> itemIds)
void reorderTestPlan(long iterationId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting)
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 iterationboolean removeTestPlansFromIterationObj(List<Long> testPlanIds, org.squashtest.tm.domain.campaign.Iteration iteration)
testPlanIds - the ids of the test plan managing that test case for that iterationiteration - the iterationboolean removeTestPlanFromIteration(long testPlanItemId)
testPlanId - the id of the test plan managing that test case for that iterationiterationId - void updateMetadata(org.squashtest.tm.domain.campaign.IterationTestPlanItem item)
execution - void assignUserToTestPlanItem(long testPlanItemId,
long userId)
testCaseId - campaignId - void assignUserToTestPlanItems(List<Long> testPlanIds, long userId)
testPlanIds - campaignId - void addTestPlanToIteration(List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> testPlan, long iterationId)
persist each iteration_test_plan_item and add it to iteration
testPlan - iterationId - List<org.squashtest.tm.domain.execution.ExecutionStatus> getExecutionStatusList()
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> forceExecutionStatus(List<Long> testPlanIds, String statusName)
testPlanIds - statusName - Collection<org.squashtest.tm.domain.campaign.IterationTestPlanItem> createTestPlanFragment(org.squashtest.tm.domain.testcase.TestCase testCase, org.squashtest.tm.domain.users.User assignee)
referenced - assignee - void changeDataset(long itemId,
Long datasetId)
itemId - datasetId - (may be null)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.