Package org.testng.internal.reflect
Class MethodMatcherContext
- java.lang.Object
-
- org.testng.internal.reflect.MethodMatcherContext
-
public class MethodMatcherContext extends java.lang.ObjectInput context for MethodMatchers.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object[]argumentsprivate java.lang.reflect.Methodmethodprivate Parameter[]methodParameterprivate ITestContexttestContextprivate ITestResulttestResult
-
Constructor Summary
Constructors Constructor Description MethodMatcherContext(java.lang.reflect.Method method, java.lang.Object[] arguments, ITestContext testContext, ITestResult testResult)Constructs a context for MethodMatchers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getArguments()java.lang.reflect.MethodgetMethod()Parameter[]getMethodParameter()ITestContextgetTestContext()ITestResultgetTestResult()
-
-
-
Field Detail
-
method
private final java.lang.reflect.Method method
-
methodParameter
private final Parameter[] methodParameter
-
arguments
private final java.lang.Object[] arguments
-
testContext
private final ITestContext testContext
-
testResult
private final ITestResult testResult
-
-
Constructor Detail
-
MethodMatcherContext
public MethodMatcherContext(java.lang.reflect.Method method, java.lang.Object[] arguments, ITestContext testContext, ITestResult testResult)Constructs a context for MethodMatchers.- Parameters:
method- current method.arguments- user arguments.testContext- current test context.testResult- current test results.
-
-
Method Detail
-
getMethodParameter
public Parameter[] getMethodParameter()
-
getMethod
public java.lang.reflect.Method getMethod()
-
getArguments
public java.lang.Object[] getArguments()
-
getTestContext
public ITestContext getTestContext()
-
getTestResult
public ITestResult getTestResult()
-
-