Package org.testng.internal.reflect
Class DataProviderMethodMatcher
java.lang.Object
org.testng.internal.reflect.AbstractMethodMatcher
org.testng.internal.reflect.DataProviderMethodMatcher
- All Implemented Interfaces:
MethodMatcher
Checks the conformance as per data-provide specifications.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayEndingMethodMatcher
private final DirectMethodMatcher
private MethodMatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]
If possible gives an array consumable by java method invoker.protected boolean
Checks if the arguments conform to the method.Methods inherited from class org.testng.internal.reflect.AbstractMethodMatcher
conforms, getConforms, getContext
-
Field Details
-
directMethodMatcher
-
arrayEndingMethodMatcher
-
matchingMatcher
-
-
Constructor Details
-
DataProviderMethodMatcher
-
-
Method Details
-
hasConformance
protected boolean hasConformance()Checks if the arguments conform to the method.- Specified by:
hasConformance
in classAbstractMethodMatcher
- Returns:
- conformance
-
getConformingArguments
If possible gives an array consumable by java method invoker.- Returns:
- conforming argument array
-