@Component public class TestCaseCallTreeFinder extends Object
| Constructor and Description |
|---|
TestCaseCallTreeFinder() |
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.library.structures.LibraryGraph<org.squashtest.tm.domain.NamedReference,org.squashtest.tm.domain.library.structures.LibraryGraph.SimpleNode<org.squashtest.tm.domain.NamedReference>> |
getCallerGraph(List<Long> calledIds)
returns a graph of simple nodes representing the ancestry of the nodes in arguments.
|
org.squashtest.tm.domain.library.structures.LibraryGraph<org.squashtest.tm.domain.NamedReference,org.squashtest.tm.domain.library.structures.LibraryGraph.SimpleNode<org.squashtest.tm.domain.NamedReference>> |
getExtendedGraph(List<Long> sourceIds)
returns an extended graph of ALL the test cases that can be reached by the source test cases, navigating on the call test steps
in both directions.
|
Set<Long> |
getTestCaseCallers(Long rootTcId)
Returns all test cases ids of test casese calling the one matching the given id.
|
Set<Long> |
getTestCaseCallTree(Collection<Long> tcIds)
same as
getTestCaseCallTree(Long), but for multiple test cases |
Set<Long> |
getTestCaseCallTree(Long rootTcId)
given the Id of a test case, will compute the subsequent test case call tree.
|
public Set<Long> getTestCaseCallTree(Long rootTcId)
rootTcId. - Null is not legal and unchecked.public Set<Long> getTestCaseCallTree(Collection<Long> tcIds)
getTestCaseCallTree(Long), but for multiple test casestcIds - public Set<Long> getTestCaseCallers(Long rootTcId)
rootTcId - : the id of the potentially called test case we want the callers of.public org.squashtest.tm.domain.library.structures.LibraryGraph<org.squashtest.tm.domain.NamedReference,org.squashtest.tm.domain.library.structures.LibraryGraph.SimpleNode<org.squashtest.tm.domain.NamedReference>> getCallerGraph(List<Long> calledIds)
calledIds - public org.squashtest.tm.domain.library.structures.LibraryGraph<org.squashtest.tm.domain.NamedReference,org.squashtest.tm.domain.library.structures.LibraryGraph.SimpleNode<org.squashtest.tm.domain.NamedReference>> getExtendedGraph(List<Long> sourceIds)
calledIds - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.