|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VerifiedRequirementsManagerService
Service for management of Requirements verified by a TestCase
| Method Summary | |
|---|---|
Collection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> |
addVerifiedRequirementsToTestCase(List<Long> requirementsIds,
long testCaseId)
Adds a list of requirements to the ones verified by a test case. |
Collection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> |
addVerifiedRequirementsToTestStep(List<Long> requirementsIds,
long testStepId)
Adds a list of requirement-versions to the ones verified by the step's test case and bind them to the step. |
Collection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> |
addVerifyingRequirementVersionsToTestCase(Map<org.squashtest.tm.domain.testcase.TestCase,List<org.squashtest.tm.domain.requirement.RequirementVersion>> requirementVersionsByTestCase)
Adds a list of requirement-versions to the ones verified by a test case. |
int |
changeVerifiedRequirementVersionOnTestCase(long oldVerifiedRequirementVersionId,
long newVerifiedRequirementVersionId,
long testCaseId)
Removes a requirement version from the given test case and replaces it with the wanted version if the same version is selected as was previously attached, nothing happens |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<VerifiedRequirement>> |
findAllDirectlyVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
Returns the filtered list of VerifiedRequirements directly verified by a test case. |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<VerifiedRequirement>> |
findAllDirectlyVerifiedRequirementsByTestStepId(long testStepId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting paging)
Will find all RequirementVersion verified by the test case containing the step of the given id. |
List<VerifiedRequirement> |
findAllVerifiedRequirementsByTestCaseId(long testCaseId)
Returns all VerifiedRequirement for the TestCase matching the given id. |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<VerifiedRequirement>> |
findAllVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
Returns all VerifiedRequirement for the TestCase matching the given id. |
void |
removeVerifiedRequirementVersionFromTestCase(long requirementVersionId,
long testCaseId)
Removes a requirement from the ones verified by a test case. |
void |
removeVerifiedRequirementVersionsFromTestCase(List<Long> requirementVersionsIds,
long testCaseId)
Removes a list of requirements from the ones verified by a test case. |
void |
removeVerifiedRequirementVersionsFromTestStep(List<Long> requirementVersionsIds,
long testStepId)
Removes a requirement from the step but not from the test case. |
| Method Detail |
|---|
Collection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> addVerifiedRequirementsToTestCase(List<Long> requirementsIds,
long testCaseId)
requirementsIds - testCaseId -
Collection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> addVerifiedRequirementsToTestStep(List<Long> requirementsIds,
long testStepId)
requirementsIds - testStepId - : the id of the concerned ActionTestStep
Collection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> addVerifyingRequirementVersionsToTestCase(Map<org.squashtest.tm.domain.testcase.TestCase,List<org.squashtest.tm.domain.requirement.RequirementVersion>> requirementVersionsByTestCase)
requirementVersionsByTestCase - : list of requirementVersions mapped by test-case
void removeVerifiedRequirementVersionsFromTestCase(List<Long> requirementVersionsIds,
long testCaseId)
testCaseId - requirementVersionsIds -
void removeVerifiedRequirementVersionFromTestCase(long requirementVersionId,
long testCaseId)
testCaseId - requirementsIds -
void removeVerifiedRequirementVersionsFromTestStep(List<Long> requirementVersionsIds,
long testStepId)
testStepId - requirementsIds -
int changeVerifiedRequirementVersionOnTestCase(long oldVerifiedRequirementVersionId,
long newVerifiedRequirementVersionId,
long testCaseId)
testCaseId - oldVerifiedRequirementVersionId - newVerifiedRequirementVersionId -
org.squashtest.tm.exception.requirement.RequirementVersionNotLinkableException
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<VerifiedRequirement>> findAllDirectlyVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
VerifiedRequirements directly verified by a test case.
The non directly verified requirements (by called test-cases) are NOT included in the result.
testCaseId - : the id of the concerned TestCase.pas: - the PagingAndSorting to organize the result with
PagedCollectionHolder of VerifiedRequirement containing directly verified requirements for the test case of the given id.
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<VerifiedRequirement>> findAllVerifiedRequirementsByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
VerifiedRequirement for the TestCase matching the given id. VerifiedRequirements verified by the CallTestSteps of the TestCase will be included.
testCaseId - : the id of the concerned TestCasepas - : the PagingAndSorting to organize the result with
PagedCollectionHolder of VerifiedRequirement containing directly and non directly (call steps) verified requirements for the test case of the given id.List<VerifiedRequirement> findAllVerifiedRequirementsByTestCaseId(long testCaseId)
VerifiedRequirement for the TestCase matching the given id. VerifiedRequirements verified by the CallTestSteps of the TestCase will be included.
testCaseId - : the id of the concerned TestCase
VerifiedRequirement containing directly and non directly (call steps) verified requirements for the test case of the given id.
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<VerifiedRequirement>> findAllDirectlyVerifiedRequirementsByTestStepId(long testStepId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting paging)
RequirementVersion verified by the test case containing the step of the given id.
The result will be paged according to the given PagingAndSorting param.
testStepId - : the id of the concerned TestSteppaging - : the PagingAndSorting to organize the result with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||