public interface VerifiedRequirementsFinderService
TestCase| Modifier and Type | Method and Description |
|---|---|
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. |
Map<Long,Boolean> |
findisReqCoveredOfCallingTCWhenisReqCoveredChanged(long updatedTestCaseId,
Collection<Long> callingIds)
Will go through the given calling test cases. and will return their
new 'isRequirementCovered' property.
|
boolean |
testCaseHasDirectCoverage(long testCaseId)
Will check if one called test case is covered by a requirement
|
boolean |
testCaseHasUndirectRequirementCoverage(long testCaseId)
Will check if the test case matching the given id is linked directly to at least one requirement.
|
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 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.Map<Long,Boolean> findisReqCoveredOfCallingTCWhenisReqCoveredChanged(long updatedTestCaseId, Collection<Long> callingIds)
updatedTestCaseId - : the id of the test case that has just been updated and might impact the 'calling' test cases
propertiescallingIds - : the ids of the calling test cases (direclty or indirectly) we want the 'isRequirementCovered'
property of.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 withboolean testCaseHasUndirectRequirementCoverage(long testCaseId)
testCaseId - : the id of the test case to check the direct requirement coverage ofboolean testCaseHasDirectCoverage(long testCaseId)
testCaseId - : the id of the test case to check the called test case ofCopyright © 2010–2017 Henix, henix.fr. All rights reserved.