| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static List | getParameters(Method dataProvider, ITestNGMethod method, ITestContext testContext, Object fedInstance, IAnnotationFinder annotationFinder)
|
| private static StackTraceElement[] | |
| protected static boolean | invokeConfigurable(final Object instance, final Object[] parameters, final IConfigurable configurableInstance, final Method thisMethod, final ITestResult testResult)
|
| public static Iterator | invokeDataProvider(Object instance, Method dataProvider, ITestNGMethod method, ITestContext testContext, Object fedInstance, IAnnotationFinder annotationFinder)
|
| protected static boolean | invokeHookable(final Object testInstance, final Object[] parameters, final IHookable hookable, final Method thisMethod, final ITestResult testResult)
|
| protected static Object | |
| protected static Object | |
| protected static void | invokeMethodConsideringTimeout(ITestNGMethod tm, ConstructorOrMethod method, Object targetInstance, Object[] params, ITestResult testResult, IConfiguration config)
|
| protected static Object | |
| protected static void | invokeWithTimeout(IConfiguration config, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult)
Invokes a method on a separate thread in order to allow us to timeout the invocation. |
| protected static boolean | invokeWithTimeout(IConfiguration config, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable)
|
| private static boolean | invokeWithTimeoutWithNewExecutor(IConfiguration configuration, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable)
|
| private static boolean | invokeWithTimeoutWithNoExecutor(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable)
|
| MethodInvocationHelper | back to summary |
|---|---|
| public MethodInvocationHelper() | |
| canAccess | back to summary |
|---|---|
private static boolean canAccess(Method thisMethod)
| |
| getParameters | back to summary |
|---|---|
| private static List | |
| getRunningMethodStackTrace | back to summary |
|---|---|
| private static StackTraceElement[] getRunningMethodStackTrace(ExecutorService exec) | |
| invokeConfigurable | back to summary |
|---|---|
| protected static boolean invokeConfigurable(final Object instance, final Object[] parameters, final IConfigurable configurableInstance, final Method thisMethod, final ITestResult testResult) throws Throwable | |
| invokeDataProvider | back to summary |
|---|---|
public static Iterator
| |
| invokeHookable | back to summary |
|---|---|
| protected static boolean invokeHookable(final Object testInstance, final Object[] parameters, final IHookable hookable, final Method thisMethod, final ITestResult testResult) throws Throwable | |
| invokeMethod | back to summary |
|---|---|
| protected static Object invokeMethod(Method thisMethod, Object instance, List<Object> parameters) throws InvocationTargetException, IllegalAccessException | |
| invokeMethod | back to summary |
|---|---|
| protected static Object invokeMethod(Method thisMethod, Object instance, Object[] parameters) throws InvocationTargetException, IllegalAccessException | |
| invokeMethodConsideringTimeout | back to summary |
|---|---|
| protected static void invokeMethodConsideringTimeout(ITestNGMethod tm, ConstructorOrMethod method, Object targetInstance, Object[] params, ITestResult testResult, IConfiguration config) throws Throwable | |
| invokeMethodNoCheckedException | back to summary |
|---|---|
| protected static Object invokeMethodNoCheckedException(Method thisMethod, Object instance, List<Object> parameters) | |
| invokeWithTimeout | back to summary |
|---|---|
| protected static void invokeWithTimeout(IConfiguration config, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult) throws InterruptedException, ThreadExecutionException Invokes a method on a separate thread in order to allow us to timeout the invocation. It uses
as implementation an | |
| invokeWithTimeout | back to summary |
|---|---|
| protected static boolean invokeWithTimeout(IConfiguration config, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) throws InterruptedException, ThreadExecutionException | |
| invokeWithTimeoutWithNewExecutor | back to summary |
|---|---|
| private static boolean invokeWithTimeoutWithNewExecutor(IConfiguration configuration, ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) throws InterruptedException, ThreadExecutionException | |
| invokeWithTimeoutWithNoExecutor | back to summary |
|---|---|
| private static boolean invokeWithTimeoutWithNoExecutor(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) | |