Package org.testng.internal.reflect
Class MethodMatcherContext
- java.lang.Object
-
- org.testng.internal.reflect.MethodMatcherContext
-
public class MethodMatcherContext extends java.lang.Object
Input context for MethodMatchers.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object[]
arguments
private java.lang.reflect.Method
method
private Parameter[]
methodParameter
private ITestContext
testContext
private ITestResult
testResult
-
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.Method
getMethod()
Parameter[]
getMethodParameter()
ITestContext
getTestContext()
ITestResult
getTestResult()
-
-
-
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()
-
-