Class GroupMatcherMethodSelector
java.lang.Object
org.apache.maven.surefire.testng.utils.GroupMatcherMethodSelector
- All Implemented Interfaces:
org.testng.IMethodSelector
Method selector delegating to
GroupMatcher
to decide if a method is included or not.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
includeMethod
(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod) static void
setGroupMatcher
(org.apache.maven.surefire.group.match.GroupMatcher matcher) static void
void
setTestMethods
(List<org.testng.ITestNGMethod> testMethods)
-
Constructor Details
-
GroupMatcherMethodSelector
public GroupMatcherMethodSelector()
-
-
Method Details
-
includeMethod
public boolean includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod) - Specified by:
includeMethod
in interfaceorg.testng.IMethodSelector
-
setTestMethods
- Specified by:
setTestMethods
in interfaceorg.testng.IMethodSelector
-
setGroups
-
setGroupMatcher
public static void setGroupMatcher(org.apache.maven.surefire.group.match.GroupMatcher matcher)
-