Annotation Type ArgumentsSource
-
@Target({ANNOTATION_TYPE,METHOD,TYPE}) @Retention(RUNTIME) @Documented @Inherited @Repeatable(ArgumentsSources.class) @API(status=STABLE, since="5.7") public @interface ArgumentsSource@ArgumentsSourceis a repeatable annotation that is used to register arguments providers for the annotated class or method.@ArgumentsSourcemay also be used as a meta-annotation in order to create a custom composed annotation that inherits the semantics of@ArgumentsSource.Inheritance
This annotation is inherited to subclasses.
- Since:
- 5.0
- See Also:
ArgumentsProvider,ParameterizedClass,ParameterizedTest
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends ArgumentsProvider>valueThe type ofArgumentsProviderto be used.
-
-
-
Element Detail
-
value
java.lang.Class<? extends ArgumentsProvider> value
The type ofArgumentsProviderto be used.
-
-