Package org.junit.jupiter.params.converter
ArgumentConverter
implementations and the corresponding
@ConvertWith
annotation.-
Interface Summary Interface Description ArgumentConverter ArgumentConverter
is an abstraction that allows an input object to be converted to an instance of a different class. -
Class Summary Class Description DefaultArgumentConverter DefaultArgumentConverter
is the default implementation of theArgumentConverter
API.SimpleArgumentConverter SimpleArgumentConverter
is an abstract base class forArgumentConverter
implementations that only need to know the target type and do not need access to theParameterContext
to perform the conversion.TypedArgumentConverter<S,T> TypedArgumentConverter
is an abstract base class forArgumentConverter
implementations that always convert objects of a given source type into a given target type. -
Exception Summary Exception Description ArgumentConversionException ArgumentConversionException
is 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 @ConvertWith
is an annotation that allows one to specify an explicitArgumentConverter
.JavaTimeConversionPattern @JavaTimeConversionPattern
is an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedTest
method.