Package org.testng.internal
Class GroupsHelper
java.lang.Object
org.testng.internal.GroupsHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
collectGroups
(List<String> groups, List<String> unfinishedGroups, Map<String, List<String>> metaGroups, Map<String, String> result) Helps create a map of groups (key/value = groupName/groupName) which takes into consideration the included/excluded group in conjunction with a possible group definition that a user may have created via their suite xml file.
-
Constructor Details
-
GroupsHelper
private GroupsHelper()
-
-
Method Details
-
createGroups
public static Map<String,String> createGroups(Map<String, List<String>> metaGroups, List<String> groups) Helps create a map of groups (key/value = groupName/groupName) which takes into consideration the included/excluded group in conjunction with a possible group definition that a user may have created via their suite xml file.- Parameters:
metaGroups
- Represents a Key/Value pair of dynamically defined groups by the user. For e.g.,<groups>
<define name="dynamicGroup">
<include name="regressionMethod"/>
</define>
</groups>
groups
- AList
of groups that are included/excluded in a given <test>- Returns:
- a map that represents the computed group names.
-
collectGroups
-