Class MethodSelector

  • All Implemented Interfaces:
    org.testng.IMethodSelector

    public class MethodSelector
    extends java.lang.Object
    implements org.testng.IMethodSelector
    For internal use only
    Since:
    2.7.3
    • Field Detail

    • Constructor Detail

      • MethodSelector

        public MethodSelector()
    • Method Detail

      • setTestMethods

        public void setTestMethods​(java.util.List arg0)
        Specified by:
        setTestMethods in interface org.testng.IMethodSelector
      • includeMethod

        public boolean includeMethod​(org.testng.IMethodSelectorContext context,
                                     org.testng.ITestNGMethod testngMethod,
                                     boolean isTestMethod)
        Specified by:
        includeMethod in interface org.testng.IMethodSelector
      • setTestListResolver

        public static void setTestListResolver​(TestListResolver testListResolver)
      • shouldRun

        private static boolean shouldRun​(org.testng.ITestNGMethod test)