@Target(value={ANNOTATION_TYPE,PARAMETER})
@Retention(value=RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="5.0")
public @interface ConvertWith
@ConvertWith
is an annotation that allows one to specify an explicit
ArgumentConverter
.
This annotation may be applied to parameters of
@ParameterizedTest
methods
which need to have their Arguments
converted before consuming them.
ParameterizedTest
,
ArgumentConverter
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends ArgumentConverter> |
value
The type of
ArgumentConverter to use. |
public abstract java.lang.Class<? extends ArgumentConverter> value
ArgumentConverter
to use.