org.apache.maven.surefire.testng.utils
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 to GroupMatcher to decide if a method is included or not.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
includeMethod(org.testng.IMethodSelectorContext context,
org.testng.ITestNGMethod method,
boolean isTestMethod)
|
static void |
setGroupMatcher(org.apache.maven.surefire.group.match.GroupMatcher matcher)
|
static void |
setGroups(String groups,
String excludedGroups)
|
void |
setTestMethods(List<org.testng.ITestNGMethod> testMethods)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupMatcherMethodSelector
public GroupMatcherMethodSelector()
includeMethod
public boolean includeMethod(org.testng.IMethodSelectorContext context,
org.testng.ITestNGMethod method,
boolean isTestMethod)
- Specified by:
includeMethod in interface org.testng.IMethodSelector
setTestMethods
public void setTestMethods(List<org.testng.ITestNGMethod> testMethods)
- Specified by:
setTestMethods in interface org.testng.IMethodSelector
setGroups
public static void setGroups(String groups,
String excludedGroups)
setGroupMatcher
public static void setGroupMatcher(org.apache.maven.surefire.group.match.GroupMatcher matcher)
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.