public class GroupMatcherMethodSelector extends Object implements org.testng.IMethodSelector
GroupMatcher
to decide if a method is included or not.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(String groups,
String excludedGroups) |
void |
setTestMethods(List<org.testng.ITestNGMethod> testMethods) |
public boolean includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod)
includeMethod
in interface org.testng.IMethodSelector
public void setTestMethods(List<org.testng.ITestNGMethod> testMethods)
setTestMethods
in interface org.testng.IMethodSelector
public static void setGroupMatcher(GroupMatcher matcher)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.