Class GroupsHelper


  • public final class GroupsHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> createGroups​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> metaGroups, java.util.List<java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createGroups

        public static java.util.Map<java.lang.String,​java.lang.String> createGroups​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> metaGroups,
                                                                                          java.util.List<java.lang.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 - A List of groups that are included/excluded in a given <test>
        Returns:
        a map that represents the computed group names.