@Target({ANNOTATION_TYPE,PARAMETER}) @Retention(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 | Description |
|---|---|---|
Class<? extends ArgumentConverter> |
value |
The type of
ArgumentConverter to use. |
Class<? extends ArgumentConverter> value
ArgumentConverter to use.Copyright © 2019. All rights reserved.