| Modifier and Type | Field and Description |
|---|---|
| private final AutoCloseableLock | |
| private final Set | |
| private final AutoCloseableLock | |
| private final Map | |
| private volatile Map | m_afterGroupsMap
A map that returns the last method belonging to the given group |
| private final Map | m_afterGroupsMethods
The list of afterGroups methods keyed by the name of the group |
| private final ITestNGMethod[] | m_allMethods
The list of all test methods |
| private final Map | m_beforeGroupsMethods
The list of beforeGroups methods keyed by the name of the group |
| Access | Constructor and Description |
|---|---|
| public | ConfigurationGroupMethods(IContainer<ITestNGMethod> container, Map<String, List<ITestNGMethod>> beforeGroupsMethods, Map<String, List<ITestNGMethod>> afterGroupsMethods)
|
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public Map | |
| public List | |
| public Map | |
| private Map | |
| private boolean | isAfterGroupAllowedToRunAfterTestMethod(ITestNGMethod afterGroupMethod, Set<String> testMethodGroups)
|
| private boolean | Returns: true if the passed method is the last to run for the group. This method is used to figure out when is the right time to invoke afterGroups methods.The group name group, ITestNGMethod The test method method)
|
| public void | |
| public void | |
| private static List | |
| private static List |
| afterGroups | back to summary |
|---|---|
| private final AutoCloseableLock afterGroups | |
| afterGroupsThatHaveAlreadyRun | back to summary |
|---|---|
| private final Set<String> afterGroupsThatHaveAlreadyRun | |
| beforeGroups | back to summary |
|---|---|
| private final AutoCloseableLock beforeGroups | |
| beforeGroupsThatHaveAlreadyRun | back to summary |
|---|---|
| private final Map<String, CountDownLatch> beforeGroupsThatHaveAlreadyRun | |
| m_afterGroupsMap | back to summary |
|---|---|
| private volatile Map<String, List<ITestNGMethod>> m_afterGroupsMap A map that returns the last method belonging to the given group | |
| m_afterGroupsMethods | back to summary |
|---|---|
| private final Map<String, List<ITestNGMethod>> m_afterGroupsMethods The list of afterGroups methods keyed by the name of the group | |
| m_allMethods | back to summary |
|---|---|
| private final ITestNGMethod[] m_allMethods The list of all test methods | |
| m_beforeGroupsMethods | back to summary |
|---|---|
| private final Map<String, List<ITestNGMethod>> m_beforeGroupsMethods The list of beforeGroups methods keyed by the name of the group | |
| ConfigurationGroupMethods | back to summary |
|---|---|
| public ConfigurationGroupMethods(IContainer<ITestNGMethod> container, Map<String, List<ITestNGMethod>> beforeGroupsMethods, Map<String, List<ITestNGMethod>> afterGroupsMethods) | |
| getAfterGroupMethods | back to summary |
|---|---|
| public List | |
| getAfterGroupsMethods | back to summary |
|---|---|
| public Map | |
| getBeforeGroupMethodsForGroup | back to summary |
|---|---|
| public List | |
| getBeforeGroupsMethods | back to summary |
|---|---|
| public Map | |
| initializeAfterGroupsMap | back to summary |
|---|---|
| private Map | |
| isAfterGroupAllowedToRunAfterTestMethod | back to summary |
|---|---|
| private boolean isAfterGroupAllowedToRunAfterTestMethod(ITestNGMethod afterGroupMethod, Set<String> testMethodGroups) | |
| isLastMethodForGroup | back to summary |
|---|---|
private boolean isLastMethodForGroup(String group, ITestNGMethod method)
| |
| removeAfterGroups | back to summary |
|---|---|
| public void removeAfterGroups(Collection<String> groups) | |
| removeBeforeGroups | back to summary |
|---|---|
| public void removeBeforeGroups(String[] groups) | |
| retrieve | back to summary |
|---|---|
| private static List | |
| retrieve | back to summary |
|---|---|
| private static List | |