org.squashtest.tm.service.requirement
public interface VerifiedRequirementsManagerService
TestCase| Modifier and Type | Method and Description |
|---|---|
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's current 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> |
addVerifiedRequirementVersionToTestStep(long requirementVersionId,
long testStepId)
Adds the requirement-version to the ones verified by the step's test case and bind it 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 version from the step but not from the test case.
|
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 ActionTestStepCollection<org.squashtest.tm.exception.requirement.VerifiedRequirementException> addVerifiedRequirementVersionToTestStep(long requirementVersionId, long testStepId)
requirementVersionId - testStepId - 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-casevoid 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.RequirementVersionNotLinkableExceptionorg.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 withPagedCollectionHolder 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 withPagedCollectionHolder 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 TestCaseVerifiedRequirement 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 withCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.