Package org.junit.jupiter.params.converter
ArgumentConverter
implementations and the corresponding
@ConvertWith annotation.-
Interface Summary Interface Description ArgumentConverter ArgumentConverteris an abstraction that allows an input object to be converted to an instance of a different class. -
Class Summary Class Description AnnotationBasedArgumentConverter<A extends java.lang.annotation.Annotation> AnnotationBasedArgumentConverteris an abstract base class forArgumentConverterimplementations that also need to consume an annotation in order to perform the conversion.DefaultArgumentConverter DefaultArgumentConverteris the default implementation of theArgumentConverterAPI.JavaTimeArgumentConverter SimpleArgumentConverter SimpleArgumentConverteris an abstract base class forArgumentConverterimplementations that only need to know the target type and do not need access to theParameterContextto perform the conversion.TypedArgumentConverter<S,T> TypedArgumentConverteris an abstract base class forArgumentConverterimplementations that always convert objects of a given source type into a given target type. -
Enum Summary Enum Description DefaultArgumentConverter.LocaleConversionFormat -
Exception Summary Exception Description ArgumentConversionException ArgumentConversionExceptionis an exception that can occur when an object is converted to another object by an implementation of anArgumentConverter. -
Annotation Types Summary Annotation Type Description ConvertWith @ConvertWithis an annotation that allows one to specify an explicitArgumentConverter.JavaTimeConversionPattern @JavaTimeConversionPatternis an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedClassor@ParameterizedTest.