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 booleanbelongToDifferentClassHierarchy(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) private static StringconstructMethodNameUsingTestClass(String currentMethodName, ITestNGMethod m) getMethodDependingOn(String methodName, ITestNGMethod fromMethod) getMethodsThatBelongTo(String group, ITestNGMethod fromMethod) private static booleanhasInstance(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) private static booleanhasSameParameters(ITestNGMethod baseClassMethod, ITestNGMethod derivedClassMethod) private static booleanisSameInstance(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
-