Class GroupMatcherMethodSelector
java.lang.Object
org.apache.maven.surefire.testng.utils.GroupMatcherMethodSelector
- All Implemented Interfaces:
Serializable
,org.testng.IMethodSelector
Method selector delegating to
GroupMatcher
to decide if a method is included or not.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
includeMethod
(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod) static void
setGroupMatcher
(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
-