Package org.testng

Class DependencyMap


  • public class DependencyMap
    extends java.lang.Object
    Helper class to keep track of dependencies.
    • Constructor Detail

      • DependencyMap

        public DependencyMap​(ITestNGMethod[] methods)
    • Method Detail

      • getMethodsThatBelongTo

        public java.util.List<ITestNGMethod> getMethodsThatBelongTo​(java.lang.String group,
                                                                    ITestNGMethod fromMethod)
      • belongToDifferentClassHierarchy

        private static boolean belongToDifferentClassHierarchy​(ITestNGMethod baseClassMethod,
                                                               ITestNGMethod derivedClassMethod)
      • hasSameParameters

        private static boolean hasSameParameters​(ITestNGMethod baseClassMethod,
                                                 ITestNGMethod derivedClassMethod)
      • constructMethodNameUsingTestClass

        private static java.lang.String constructMethodNameUsingTestClass​(java.lang.String currentMethodName,
                                                                          ITestNGMethod m)