A - type of annotation mentioning this providerpublic interface ParametersProvider<A extends Annotation>
CustomParameters annotation.
Must have a default no-args constructor.| Modifier and Type | Method and Description |
|---|---|
Object[] |
getParameters()
Actual parameters generation
|
void |
initialize(A parametersAnnotation,
org.junit.runners.model.FrameworkMethod frameworkMethod)
Initializes this provider - you can read your custom annotation config here.
|
void initialize(A parametersAnnotation, org.junit.runners.model.FrameworkMethod frameworkMethod)
parametersAnnotation - parameters annotation on test methodframeworkMethod - test methodObject[] getParameters()
Copyright © 2017 Pragmatists. All rights reserved.