Package org.testng.internal.reflect
Class DataProviderMethodMatcher
- java.lang.Object
-
- org.testng.internal.reflect.AbstractMethodMatcher
-
- org.testng.internal.reflect.DataProviderMethodMatcher
-
- All Implemented Interfaces:
MethodMatcher
public class DataProviderMethodMatcher extends AbstractMethodMatcher
Checks the conformance as per data-provide specifications.
-
-
Constructor Summary
Constructors Constructor Description DataProviderMethodMatcher(MethodMatcherContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getConformingArguments()If possible gives an array consumable by java method invoker.protected booleanhasConformance()Checks if the arguments conform to the method.-
Methods inherited from class org.testng.internal.reflect.AbstractMethodMatcher
conforms, getConforms, getContext
-
-
-
-
Constructor Detail
-
DataProviderMethodMatcher
public DataProviderMethodMatcher(MethodMatcherContext context)
-
-
Method Detail
-
hasConformance
protected boolean hasConformance()
Checks if the arguments conform to the method.- Specified by:
hasConformancein classAbstractMethodMatcher- Returns:
- conformance
-
getConformingArguments
public java.lang.Object[] getConformingArguments()
If possible gives an array consumable by java method invoker.- Returns:
- conforming argument array
-
-