Package org.testng.internal
Class ConfigurationGroupMethods
java.lang.Object
org.testng.internal.ConfigurationGroupMethods
This class wraps access to beforeGroups and afterGroups methods, since they are passed around the
various invokers and potentially modified in different threads.
- Since:
- 5.3 (Mar 2, 2006)
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationGroupMethods
(IContainer<ITestNGMethod> container, Map<String, List<ITestNGMethod>> beforeGroupsMethods, Map<String, List<ITestNGMethod>> afterGroupsMethods) -
Method Summary
Modifier and TypeMethodDescriptiongetAfterGroupMethods
(ITestNGMethod testMethod) getBeforeGroupMethodsForGroup
(String[] groups) void
removeAfterGroups
(Collection<String> groups) void
removeBeforeGroups
(String[] groups)
-
Constructor Details
-
ConfigurationGroupMethods
public ConfigurationGroupMethods(IContainer<ITestNGMethod> container, Map<String, List<ITestNGMethod>> beforeGroupsMethods, Map<String, List<ITestNGMethod>> afterGroupsMethods)
-
-
Method Details
-
getBeforeGroupsMethods
-
getAfterGroupsMethods
-
getBeforeGroupMethodsForGroup
-
getAfterGroupMethods
-
removeBeforeGroups
-
removeAfterGroups
-