| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Map | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Comparator | |
| protected static String | |
| private static String | |
| protected static String | |
| public static long | |
| public static void | |
| public static ITestNGMethod[] | Returns: an array of ordered methodsmethods to be worked on methods, boolean true for test methods, false for configuration methods forTests, RunInfo - runInfo, IAnnotationFinder RunInfo object.annotation finder finder, boolean true for unique methods, false otherwise unique, List<ITestNGMethod> - A List of excluded outExcludedMethods, Comparator<ITestNGMethod> comparator)ITestNGMethod methods.Collects and orders test or configuration methods |
| public static void | |
| private static Pair | |
| protected static ITestNGMethod[] | Returns: an array of methods that match the criteriaTestNG method m, List<ITestNGMethod> list of methods to search for depended upon methods methods)Finds TestNG methods that the specified TestNG method depends upon |
| public static ITestNGMethod[] | Returns: an array of methods that match the criteriaTestNG method m, ITestNGMethod[] list of methods to search for depended upon methods incoming)Finds TestNG methods that the specified TestNG method depends upon |
| private static Method | findMethodByName(ITestNGMethod
TestNG method testngMethod, String regex representing a method and/or related class name regExp)Finds method based on regex and TestNGMethod. |
| public static void | |
| public static List | Returns: A sorted array containing all the methods 'method' depends on
|
| public static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static boolean | |
| private static MethodHelper. | |
| public static List | |
| public static List | |
| private static List | |
| private static Map | Returns: Map of Instances as the keys and the methods associated with the instance as the valuesMethods to be sorted methods)This method is used to create a map of test instances and their associated method(s) . |
| private static Graph | topologicalSort(ITestNGMethod[] methods, List<ITestNGMethod> sequentialList, List<ITestNGMethod> parallelList, final Comparator<ITestNGMethod> comparator)
|
| public static List | uniqueMethodList(Collection<List<ITestNGMethod>> methods)
Extracts the unique list of |
| CANONICAL_NAME_CACHE | back to summary |
|---|---|
| private static final Map<Method, String> CANONICAL_NAME_CACHE | |
| GRAPH_CACHE | back to summary |
|---|---|
| private static final Map<ITestNGMethod[], Graph<ITestNGMethod>> GRAPH_CACHE | |
| MATCH_CACHE | back to summary |
|---|---|
| private static final Map<Pair<String, String>, Boolean> MATCH_CACHE | |
| MethodHelper | back to summary |
|---|---|
| public MethodHelper() | |
| bubbleUpIndependentMethodsFirst | back to summary |
|---|---|
| private static Comparator | |
| calculateMethodCanonicalName | back to summary |
|---|---|
| protected static String calculateMethodCanonicalName(ITestNGMethod m) | |
| calculateMethodCanonicalName | back to summary |
|---|---|
| private static String calculateMethodCanonicalName(Method m) | |
| calculateMethodCanonicalName | back to summary |
|---|---|
| protected static String calculateMethodCanonicalName(Class<?> methodClass, String methodName) | |
| calculateTimeOut | back to summary |
|---|---|
| public static long calculateTimeOut(ITestNGMethod tm) | |
| clear | back to summary |
|---|---|
| public static void clear(Stream<Method> methods) | |
| collectAndOrderMethods | back to summary |
|---|---|
| public static ITestNGMethod[] collectAndOrderMethods(List<ITestNGMethod> methods, boolean forTests, RunInfo runInfo, IAnnotationFinder finder, boolean unique, List<ITestNGMethod> outExcludedMethods, Comparator<ITestNGMethod> comparator) Collects and orders test or configuration methods
| |
| dumpInvokedMethodInfoToConsole | back to summary |
|---|---|
| public static void dumpInvokedMethodInfoToConsole(ITestNGMethod[] methods, int currentVerbosity) | |
| filterToUse | back to summary |
|---|---|
| private static Pair | |
| findDependedUponMethods | back to summary |
|---|---|
| protected static ITestNGMethod[] findDependedUponMethods(ITestNGMethod m, List<ITestNGMethod> methods) Finds TestNG methods that the specified TestNG method depends upon
| |
| findDependedUponMethods | back to summary |
|---|---|
| public static ITestNGMethod[] findDependedUponMethods(ITestNGMethod m, ITestNGMethod[] incoming) Finds TestNG methods that the specified TestNG method depends upon
| |
| findMethodByName | back to summary |
|---|---|
| private static Method findMethodByName(ITestNGMethod testngMethod, String regExp) Finds method based on regex and TestNGMethod. If regex doesn't represent the class name, uses the TestNG method's class name.
| |
| fixMethodsWithClass | back to summary |
|---|---|
| public static void fixMethodsWithClass(ITestNGMethod[] methods, ITestClass testCls, List<ITestNGMethod> methodList) | |
| getMethodsDependedUpon | back to summary |
|---|---|
public static List
| |
| isAlwaysRun | back to summary |
|---|---|
| public static boolean isAlwaysRun(IConfigurationAnnotation configurationAnnotation) | |
| isConfigurationMethod | back to summary |
|---|---|
| private static boolean isConfigurationMethod(ITestNGMethod tm) | |
| isEnabled | back to summary |
|---|---|
| public static boolean isEnabled(Class<?> objectClass, IAnnotationFinder finder) | |
| isEnabled | back to summary |
|---|---|
| public static boolean isEnabled(Method m, IAnnotationFinder finder) | |
| isEnabled | back to summary |
|---|---|
| public static boolean isEnabled(ITestOrConfiguration test) | |
| isIndependent | back to summary |
|---|---|
| private static boolean isIndependent(ITestNGMethod tm) | |
| matchMethod | back to summary |
|---|---|
| private static MethodHelper. | |
| methodInstancesToMethods | back to summary |
|---|---|
| public static List | |
| methodsToMethodInstances | back to summary |
|---|---|
| public static List | |
| sortMethods | back to summary |
|---|---|
| private static List | |
| sortMethodsByInstance | back to summary |
|---|---|
| private static Map This method is used to create a map of test instances and their associated method(s) . Used to decrease the scope to only a methods instance when trying to find method dependencies.
| |
| topologicalSort | back to summary |
|---|---|
| private static Graph | |
| uniqueMethodList | back to summary |
|---|---|
| public static List Extracts the unique list of | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| foundAtLeastAMethod | back to summary |
|---|---|
| private boolean foundAtLeastAMethod | |
| matchedMethods | back to summary |
|---|---|
| private final List<ITestNGMethod> matchedMethods | |
| MatchResults | back to summary |
|---|---|
| private MatchResults() | |