Package org.junit.jupiter.params.converter
package org.junit.jupiter.params.converter
ArgumentConverter
implementations and the corresponding
@ConvertWith annotation.-
ClassDescription
ArgumentConversionExceptionis an exception that can occur when an object is converted to another object by an implementation of anArgumentConverter.ArgumentConverteris an abstraction that allows an input object to be converted to an instance of a different class.@ConvertWithis an annotation that allows one to specify an explicitArgumentConverter.DefaultArgumentConverteris the default implementation of theArgumentConverterAPI.FallbackStringToObjectConverteris aDefaultArgumentConverter.StringToObjectConverterthat provides a fallback conversion strategy for converting from aStringto a given target type by invoking a static factory method or factory constructor defined in the target type.Predicatethat determines if theConstructorsupplied toFallbackStringToObjectConverter.IsFactoryConstructor.test(Constructor)is a non-private factory constructor for the suppliedFallbackStringToObjectConverter.IsFactoryConstructor.targetType.Predicatethat determines if theMethodsupplied toFallbackStringToObjectConverter.IsFactoryMethod.test(Method)is a non-private static factory method for the suppliedFallbackStringToObjectConverter.IsFactoryMethod.targetType.@JavaTimeConversionPatternis an annotation that allows a date/time conversion pattern to be specified on a parameter of a@ParameterizedTestmethod.SimpleArgumentConverteris an abstract base class forArgumentConverterimplementations.TypedArgumentConverteris anArgumentConverterthat always converts a given type to another.