public class ConfigurationGroupMethods extends Object
Constructor and Description |
---|
ConfigurationGroupMethods(ITestNGMethod[] allMethods,
Map<String,List<ITestNGMethod>> beforeGroupsMethods,
Map<String,List<ITestNGMethod>> afterGroupsMethods) |
Modifier and Type | Method and Description |
---|---|
List<ITestNGMethod> |
getAfterGroupMethodsForGroup(String group) |
Map<String,List<ITestNGMethod>> |
getAfterGroupsMethods() |
ITestNGMethod[] |
getAllTestMethods() |
List<ITestNGMethod> |
getBeforeGroupMethodsForGroup(String group) |
Map<String,List<ITestNGMethod>> |
getBeforeGroupsMethods() |
boolean |
isLastMethodForGroup(String group,
ITestNGMethod method) |
void |
removeAfterGroups(Collection<String> groups) |
void |
removeBeforeGroups(String[] groups) |
void |
removeBeforeMethod(String group,
ITestNGMethod method) |
public ConfigurationGroupMethods(ITestNGMethod[] allMethods, Map<String,List<ITestNGMethod>> beforeGroupsMethods, Map<String,List<ITestNGMethod>> afterGroupsMethods)
public ITestNGMethod[] getAllTestMethods()
public Map<String,List<ITestNGMethod>> getBeforeGroupsMethods()
public Map<String,List<ITestNGMethod>> getAfterGroupsMethods()
public boolean isLastMethodForGroup(String group, ITestNGMethod method)
public void removeBeforeMethod(String group, ITestNGMethod method)
public List<ITestNGMethod> getBeforeGroupMethodsForGroup(String group)
public List<ITestNGMethod> getAfterGroupMethodsForGroup(String group)
public void removeBeforeGroups(String[] groups)
public void removeAfterGroups(Collection<String> groups)
Copyright © 2024. All rights reserved.