public class ConfigurationGroupMethods extends Object
| Constructor and Description |
|---|
ConfigurationGroupMethods(IContainer<ITestNGMethod> container,
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() |
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) |
public ConfigurationGroupMethods(IContainer<ITestNGMethod> container, Map<String,List<ITestNGMethod>> beforeGroupsMethods, Map<String,List<ITestNGMethod>> afterGroupsMethods)
public Map<String,List<ITestNGMethod>> getBeforeGroupsMethods()
public Map<String,List<ITestNGMethod>> getAfterGroupsMethods()
public boolean isLastMethodForGroup(String group, ITestNGMethod method)
group - The group namemethod - The test methodpublic List<ITestNGMethod> getBeforeGroupMethodsForGroup(String group)
public List<ITestNGMethod> getAfterGroupMethodsForGroup(String group)
public void removeBeforeGroups(String[] groups)
public void removeAfterGroups(Collection<String> groups)
Copyright © 2025. All rights reserved.