Top Description Fields Constructors Methods
org.testng.internal.reflect

public Class DataProviderMethodMatcher

extends AbstractMethodMatcher
Class Inheritance

Checks the conformance as per data-provide specifications.

Field Summary

Modifier and TypeField and Description
private final ArrayEndingMethodMatcher
private final DirectMethodMatcher
private MethodMatcher

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object[]
getConformingArguments()

Implements org.testng.internal.reflect.MethodMatcher.getConformingArguments.

If possible gives an array consumable by java method invoker.
protected boolean
hasConformance()

Implements abstract org.testng.internal.reflect.AbstractMethodMatcher.hasConformance.

Checks if the arguments conform to the method.
Inherited from org.testng.internal.reflect.AbstractMethodMatcher:
conformsgetConformsgetContext

Field Detail

arrayEndingMethodMatcherback to summary
private final ArrayEndingMethodMatcher arrayEndingMethodMatcher
directMethodMatcherback to summary
private final DirectMethodMatcher directMethodMatcher
matchingMatcherback to summary
private MethodMatcher matchingMatcher

Constructor Detail

DataProviderMethodMatcherback to summary
public DataProviderMethodMatcher(final MethodMatcherContext context)

Method Detail

getConformingArgumentsback to summary
public Object[] getConformingArguments()

Implements org.testng.internal.reflect.MethodMatcher.getConformingArguments.

Doc from org.testng.internal.reflect.MethodMatcher.getConformingArguments.

If possible gives an array consumable by java method invoker.

Returns:Object[]

conforming argument array

Annotations
@Override
hasConformanceback to summary
protected boolean hasConformance()

Implements abstract org.testng.internal.reflect.AbstractMethodMatcher.hasConformance.

Doc from org.testng.internal.reflect.AbstractMethodMatcher.hasConformance.

Checks if the arguments conform to the method.

Returns:boolean

conformance

Annotations
@Override