public class ParameterizedRepeatedMethodContext extends Object
| Constructor and Description |
|---|
ParameterizedRepeatedMethodContext(Method testMethod) |
| Modifier and Type | Method and Description |
|---|---|
int |
getParameterCount()
Get the number of parameters of the
Method represented by this
context. |
boolean |
hasAggregator()
Determine if the
Method represented by this context declares at
least one Parameter that is an
aggregator. |
boolean |
hasPotentiallyValidSignature()
Determine if the
Method represented by this context has a
potentially valid signature (i.e., formal parameter
declarations) with regard to aggregators. |
public ParameterizedRepeatedMethodContext(Method testMethod)
public boolean hasPotentiallyValidSignature()
Method represented by this context has a
potentially valid signature (i.e., formal parameter
declarations) with regard to aggregators.
This method takes a best-effort approach at enforcing the following policy for parameterized test methods that accept aggregators as arguments.
ParameterResolver
implementations come last.true if the method has a potentially valid signaturepublic int getParameterCount()
Method represented by this
context.public boolean hasAggregator()
Method represented by this context declares at
least one Parameter that is an
aggregator.true if the method has an aggregatorCopyright © 2019. All rights reserved.