| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | Returns: -true if the method depends on other methods and cannot be run
independently.- The tm)ITestNGMethod object which is to be tested.
|
| private static boolean | Returns: -true if the method is a configuration method and exists in the list of
methods passed.- A method, List<ITestNGMethod> ITestNGMethod object which needs to be checked.- A List of methods)ITestNGMethod in which the check needs to be done.A helper method which checks if a given method is a configuration method and is part of list of TestNG methods |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| pack-priv static ITestNGMethod[] | filterAfterTestMethods(Object instance, ITestClass testClass, BiPredicate<ITestNGMethod, IClass> predicate)
|
| pack-priv static ITestNGMethod[] | filterBeforeTestMethods(Object instance, ITestClass testClass, BiPredicate<ITestNGMethod, IClass> predicate)
|
| pack-priv static ITestNGMethod[] | Returns: Only the ITestNGMethods applicable for this testClass
|
| pack-priv static ITestNGMethod[] | |
| pack-priv static ITestNGMethod[] | |
| pack-priv static Object | |
| pack-priv static boolean | Returns: -true if the method is a configuration method and false if its a test
method.- A method)ITestNGMethod object which needs to be checked.A helper method that checks to see if a method is a configuration method or not. |
| private static boolean | Returns: -true if the method is a configuration method and false if its a test
method.- A method, boolean ITestNGMethod object which needs to be checked.- includeGroupConfigs)true if before/after group configuration annotations
are also to be taken into consideration.A helper method that checks to see if a method is a configuration method or not. |
| private static boolean |
| TestNgMethodUtils | back to summary |
|---|---|
| private TestNgMethodUtils() | |
| cannotRunMethodIndependently | back to summary |
|---|---|
pack-priv static boolean cannotRunMethodIndependently(ITestNGMethod tm)
| |
| containsConfigurationMethod | back to summary |
|---|---|
| private static boolean containsConfigurationMethod(ITestNGMethod method, List<ITestNGMethod> methods) A helper method which checks if a given method is a configuration method and is part of list of TestNG methods
| |
| doesConfigMethodPassGroupFilters | back to summary |
|---|---|
| private static boolean doesConfigMethodPassGroupFilters(ConfigurationMethod cm, ITestNGMethod tm) | |
| doesSetupMethodPassFirstTimeFilter | back to summary |
|---|---|
| private static boolean doesSetupMethodPassFirstTimeFilter(ConfigurationMethod cm, ITestNGMethod tm) | |
| doesTeardownMethodPassLastTimeFilter | back to summary |
|---|---|
| private static boolean doesTeardownMethodPassLastTimeFilter(ConfigurationMethod cm, ITestNGMethod tm) | |
| filterAfterTestMethods | back to summary |
|---|---|
| pack-priv static ITestNGMethod[] filterAfterTestMethods(Object instance, ITestClass testClass, BiPredicate<ITestNGMethod, IClass> predicate) | |
| filterBeforeTestMethods | back to summary |
|---|---|
| pack-priv static ITestNGMethod[] filterBeforeTestMethods(Object instance, ITestClass testClass, BiPredicate<ITestNGMethod, IClass> predicate) | |
| filterMethods | back to summary |
|---|---|
pack-priv static ITestNGMethod[] filterMethods(Object instance, IClass testClass, ITestNGMethod[] methods, BiPredicate<ITestNGMethod, IClass> predicate)
| |
| filterSetupConfigurationMethods | back to summary |
|---|---|
| pack-priv static ITestNGMethod[] filterSetupConfigurationMethods(ITestNGMethod tm, ITestNGMethod[] methods) | |
| filterTeardownConfigurationMethods | back to summary |
|---|---|
| pack-priv static ITestNGMethod[] filterTeardownConfigurationMethods(ITestNGMethod tm, ITestNGMethod[] methods) | |
| getMethodInvocationToken | back to summary |
|---|---|
| pack-priv static Object getMethodInvocationToken(ITestNGMethod method, Object instance) | |
| isConfigurationMethod | back to summary |
|---|---|
| pack-priv static boolean isConfigurationMethod(ITestNGMethod method) A helper method that checks to see if a method is a configuration method or not.
| |
| isConfigurationMethod | back to summary |
|---|---|
| private static boolean isConfigurationMethod(ITestNGMethod method, boolean includeGroupConfigs) A helper method that checks to see if a method is a configuration method or not.
| |
| isSameInstance | back to summary |
|---|---|
| private static boolean isSameInstance(ITestNGMethod tm, Object instance) | |