public class DependencyMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ListMultiMap<java.lang.String,ITestNGMethod> |
m_dependencies |
private ListMultiMap<java.lang.String,ITestNGMethod> |
m_groups |
Constructor and Description |
---|
DependencyMap(ITestNGMethod[] methods) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
belongToDifferentClassHierarchy(ITestNGMethod baseClassMethod,
ITestNGMethod derivedClassMethod) |
private static java.lang.String |
constructMethodNameUsingTestClass(java.lang.String currentMethodName,
ITestNGMethod m) |
ITestNGMethod |
getMethodDependingOn(java.lang.String methodName,
ITestNGMethod fromMethod) |
java.util.List<ITestNGMethod> |
getMethodsThatBelongTo(java.lang.String group,
ITestNGMethod fromMethod) |
private static boolean |
hasInstance(ITestNGMethod baseClassMethod,
ITestNGMethod derivedClassMethod) |
private static boolean |
isSameInstance(ITestNGMethod baseClassMethod,
ITestNGMethod derivedClassMethod) |
private ListMultiMap<java.lang.String,ITestNGMethod> m_dependencies
private ListMultiMap<java.lang.String,ITestNGMethod> m_groups
public DependencyMap(ITestNGMethod[] methods)
public java.util.List<ITestNGMethod> getMethodsThatBelongTo(java.lang.String group, ITestNGMethod fromMethod)
public ITestNGMethod getMethodDependingOn(java.lang.String methodName, ITestNGMethod fromMethod)
private static boolean belongToDifferentClassHierarchy(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod)
private static boolean hasInstance(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod)
private static boolean isSameInstance(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod)
private static java.lang.String constructMethodNameUsingTestClass(java.lang.String currentMethodName, ITestNGMethod m)