Class MethodSelector
- java.lang.Object
-
- org.apache.maven.surefire.testng.utils.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 Summary
Fields Modifier and Type Field Description private static TestListResolver
testListResolver
-
Constructor Summary
Constructors Constructor Description MethodSelector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod testngMethod, boolean isTestMethod)
static void
setTestListResolver(TestListResolver testListResolver)
void
setTestMethods(java.util.List arg0)
private static boolean
shouldRun(org.testng.ITestNGMethod test)
-
-
-
Field Detail
-
testListResolver
private static volatile TestListResolver testListResolver
-
-
Method Detail
-
setTestMethods
public void setTestMethods(java.util.List arg0)
- Specified by:
setTestMethods
in interfaceorg.testng.IMethodSelector
-
includeMethod
public boolean includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod testngMethod, boolean isTestMethod)
- Specified by:
includeMethod
in interfaceorg.testng.IMethodSelector
-
setTestListResolver
public static void setTestListResolver(TestListResolver testListResolver)
-
shouldRun
private static boolean shouldRun(org.testng.ITestNGMethod test)
-
-