Package org.testng
Class DependencyMap
java.lang.Object
org.testng.DependencyMap
Helper class to keep track of dependencies.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ListMultiMap<String,
ITestNGMethod> private final ListMultiMap<String,
ITestNGMethod> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
belongToDifferentClassHierarchy
(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) private static String
constructMethodNameUsingTestClass
(String currentMethodName, ITestNGMethod m) getMethodDependingOn
(String methodName, ITestNGMethod fromMethod) getMethodsThatBelongTo
(String group, ITestNGMethod fromMethod) private static boolean
hasInstance
(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) private static boolean
hasSameParameters
(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) private static boolean
isSameInstance
(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod)
-
Field Details
-
m_dependencies
-
m_groups
-
-
Constructor Details
-
DependencyMap
-
-
Method Details
-
getMethodsThatBelongTo
-
getMethodDependingOn
-
belongToDifferentClassHierarchy
private static boolean belongToDifferentClassHierarchy(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) -
hasInstance
-
hasSameParameters
private static boolean hasSameParameters(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) -
isSameInstance
private static boolean isSameInstance(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) -
constructMethodNameUsingTestClass
-