Class GroupMatcherMethodSelector
- java.lang.Object
-
- org.apache.maven.surefire.testng.utils.GroupMatcherMethodSelector
-
- All Implemented Interfaces:
Serializable
,org.testng.IMethodSelector
public class GroupMatcherMethodSelector extends Object implements org.testng.IMethodSelector
Method selector delegating toGroupMatcher
to decide if a method is included or not.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupMatcherMethodSelector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod)
static void
setGroupMatcher(GroupMatcher matcher)
static void
setGroups(String groups, String excludedGroups)
void
setTestMethods(List<org.testng.ITestNGMethod> testMethods)
-
-
-
Method Detail
-
includeMethod
public boolean includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod)
- Specified by:
includeMethod
in interfaceorg.testng.IMethodSelector
-
setTestMethods
public void setTestMethods(List<org.testng.ITestNGMethod> testMethods)
- Specified by:
setTestMethods
in interfaceorg.testng.IMethodSelector
-
setGroupMatcher
public static void setGroupMatcher(GroupMatcher matcher)
-
-