| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | collectMethodsByGroup(ITestNGMethod[] methods, boolean forTests, List<ITestNGMethod> outIncludedMethods, List<ITestNGMethod> outExcludedMethods, RunInfo runInfo, IAnnotationFinder finder, boolean unique)
Collect all the methods that belong to the included groups and exclude all the methods that belong to an excluded group. |
| public static Map | Returns: the map of groups and their corresponding methods from the extraction ofclasses
.
|
| protected static void | findGroupTransitiveClosure(List<ITestNGMethod> includedMethods, List<ITestNGMethod> allMethods, String[] includedGroups, Set<String> outGroups, Set<ITestNGMethod> outMethods)
|
| private static ITestNGMethod | |
| public static ITestNGMethod[] | Returns: all the methods that belong to the group specified by the regular expression groupRegExp. methods[] is the list of all the methods we are choosing from and method is the method that owns the dependsOnGroups statement (only used if a group is missing to flag an error on that method).if no group is found, group regex is set as this method's missing group method, ITestNGMethod[] list of methods to search methods, String regex representing the group groupRegexp)Only used if a group is missing to flag an error on that method |
| protected static ITestNGMethod[] | Returns: all the methods that belong to the group specified by the regular expression groupRegExp. methods[] is the list of all the methods we are choosing from.list of methods to search methods, String regex representing the group groupRegexp)
|
| private static Pattern | |
| private static boolean | includeMethod(ITestOrConfiguration annotation, RunInfo runInfo, ITestNGMethod tm, boolean forTests, boolean unique, List<ITestNGMethod> outIncludedMethods)
|
| private static Boolean | |
| private static boolean |
| MATCH_CACHE | back to summary |
|---|---|
| private static final Map<Pair<String, String>, Boolean> MATCH_CACHE | |
| PATTERN_CACHE | back to summary |
|---|---|
| private static final Map<String, Pattern> PATTERN_CACHE | |
| MethodGroupsHelper | back to summary |
|---|---|
| public MethodGroupsHelper() | |
| collectMethodsByGroup | back to summary |
|---|---|
| pack-priv static void collectMethodsByGroup(ITestNGMethod[] methods, boolean forTests, List<ITestNGMethod> outIncludedMethods, List<ITestNGMethod> outExcludedMethods, RunInfo runInfo, IAnnotationFinder finder, boolean unique) Collect all the methods that belong to the included groups and exclude all the methods that belong to an excluded group. | |
| findGroupsMethods | back to summary |
|---|---|
public static Map
| |
| findGroupTransitiveClosure | back to summary |
|---|---|
| protected static void findGroupTransitiveClosure(List<ITestNGMethod> includedMethods, List<ITestNGMethod> allMethods, String[] includedGroups, Set<String> outGroups, Set<ITestNGMethod> outMethods) | |
| findMethodNamed | back to summary |
|---|---|
| private static ITestNGMethod findMethodNamed(String tm, List<ITestNGMethod> allMethods) | |
| findMethodsThatBelongToGroup | back to summary |
|---|---|
| public static ITestNGMethod[] findMethodsThatBelongToGroup(ITestNGMethod method, ITestNGMethod[] methods, String groupRegexp) Only used if a group is missing to flag an error on that method
| |
| findMethodsThatBelongToGroup | back to summary |
|---|---|
protected static ITestNGMethod[] findMethodsThatBelongToGroup(ITestNGMethod[] methods, String groupRegexp)
| |
| getPattern | back to summary |
|---|---|
| private static Pattern getPattern(String groupRegexp) | |
| includeMethod | back to summary |
|---|---|
| private static boolean includeMethod(ITestOrConfiguration annotation, RunInfo runInfo, ITestNGMethod tm, boolean forTests, boolean unique, List<ITestNGMethod> outIncludedMethods) | |
| isMatch | back to summary |
|---|---|
| private static Boolean isMatch(Pattern pattern, String group) | |
| isMethodAlreadyNotPresent | back to summary |
|---|---|
| private static boolean isMethodAlreadyNotPresent(List<ITestNGMethod> result, ITestNGMethod tm) | |