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 ITestContextprivate final Methodprivate 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.MethodParametersnewInstance(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- theMethodobject.ctx- TheITestContextobject representing the current testtr- - TheITestResultobject.
-
-
Method Details
-
newInstance
public static Parameters.MethodParameters newInstance(Map<String, String> params, ITestNGMethod testNGMethod, ITestContext context)
-