public class GroupMatcherMethodSelector
extends java.lang.Object
implements org.testng.IMethodSelector
GroupMatcher
to decide if a method is included or not.Modifier and Type | Field and Description |
---|---|
private java.util.Map<org.testng.ITestNGMethod,java.lang.Boolean> |
answers |
private static GroupMatcher |
matcher |
private static long |
serialVersionUID |
Constructor and Description |
---|
GroupMatcherMethodSelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
includeMethod(org.testng.IMethodSelectorContext context,
org.testng.ITestNGMethod method,
boolean isTestMethod) |
static void |
setGroupMatcher(GroupMatcher matcher) |
static void |
setGroups(java.lang.String groups,
java.lang.String excludedGroups) |
void |
setTestMethods(java.util.List<org.testng.ITestNGMethod> testMethods) |
private static final long serialVersionUID
private static GroupMatcher matcher
private java.util.Map<org.testng.ITestNGMethod,java.lang.Boolean> answers
public boolean includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod)
includeMethod
in interface org.testng.IMethodSelector
public void setTestMethods(java.util.List<org.testng.ITestNGMethod> testMethods)
setTestMethods
in interface org.testng.IMethodSelector
public static void setGroups(java.lang.String groups, java.lang.String excludedGroups)
public static void setGroupMatcher(GroupMatcher matcher)