Package org.testng.internal
Class Parameters.MethodParameters
java.lang.Object
org.testng.internal.Parameters.MethodParameters
- Enclosing class:
- Parameters
A parameter passing helper class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ITestContext
private final Method
private final Object[]
private final ITestResult
-
Constructor Summary
ConstructorsConstructorDescriptionMethodParameters
(Map<String, String> params, Map<String, String> methodParams, Object[] pv, Method m, ITestContext ctx, ITestResult tr) -
Method Summary
Modifier and TypeMethodDescriptionstatic Parameters.MethodParameters
newInstance
(Map<String, String> params, ITestNGMethod testNGMethod, ITestContext context)
-
Field Details
-
xmlParameters
-
currentTestMethod
-
context
-
parameterValues
-
testResult
-
-
Constructor Details
-
MethodParameters
-
MethodParameters
public MethodParameters(Map<String, String> params, Map<String, String> methodParams, Object[] pv, Method m, ITestContext ctx, ITestResult tr) - Parameters:
params
- parameters found in the suite and test tagsmethodParams
- parameters found in the include tagpv
- parameter values to be used.m
- theMethod
object.ctx
- TheITestContext
object representing the current testtr
- - TheITestResult
object.
-
-
Method Details
-
newInstance
public static Parameters.MethodParameters newInstance(Map<String, String> params, ITestNGMethod testNGMethod, ITestContext context)
-