Class ConfigurationGroupMethods

java.lang.Object
org.testng.internal.ConfigurationGroupMethods

public class ConfigurationGroupMethods extends Object
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)
  • Field Details

    • m_beforeGroupsMethods

      private final Map<String,List<ITestNGMethod>> m_beforeGroupsMethods
      The list of beforeGroups methods keyed by the name of the group
    • beforeGroupsThatHaveAlreadyRun

      private final Set<String> beforeGroupsThatHaveAlreadyRun
    • afterGroupsThatHaveAlreadyRun

      private final Set<String> afterGroupsThatHaveAlreadyRun
    • m_afterGroupsMethods

      private final Map<String,List<ITestNGMethod>> m_afterGroupsMethods
      The list of afterGroups methods keyed by the name of the group
    • m_allMethods

      private final ITestNGMethod[] m_allMethods
      The list of all test methods
    • m_afterGroupsMap

      private volatile Map<String,List<ITestNGMethod>> m_afterGroupsMap
      A map that returns the last method belonging to the given group
  • Constructor Details

  • Method Details