Annotation Type ConverterSource
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Repeatable(ConverterSources.class) public @interface ConverterSource
ConverterSource
is an annotation used to register converter providers for the annotated test method.This may also be used as a meta-annotation in order to create a custom composed annotation that inherits the semantics of
ConverterSource
(demonstrated byEnableConverter
).This annotation is repeatable via
ConverterSources
, and as such multiple providers can be registered.This is more or less a copy of
org.junit.jupiter.params.provider.ArgumentsSource
from the junit-jupiter-params project.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ConverterProvider>
value
Gets the class class of theConverterProvider
-
-
-
Element Detail
-
value
Class<? extends ConverterProvider> value
Gets the class class of theConverterProvider
- Returns:
- the class which provides
argument converters
. Must have a no-args constructor
-
-