Top Description Interfaces Annotations Classes
module org.junit.jupiter.params

Package org.junit.jupiter.params.converter

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

ArgumentConverter implementations and the corresponding @ConvertWith annotation.

Interface Summary

Modifier and TypeInterface and Description
public interface
ArgumentConverter

ArgumentConverter is an abstraction that allows an input object to be converted to an instance of a different class.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
ConvertWith

@ConvertWith is an annotation that allows one to specify an explicit ArgumentConverter.

public @interface
JavaTimeConversionPattern

@JavaTimeConversionPattern is an annotation that allows a date/time conversion pattern to be specified on a parameter of a @ParameterizedClass or @ParameterizedTest.

Class Summary

Modifier and TypeClass and Description
public abstract class
AnnotationBasedArgumentConverter<A extends Annotation>

AnnotationBasedArgumentConverter is an abstract base class for ArgumentConverter implementations that also need to consume an annotation in order to perform the conversion.

public class
ArgumentConversionException

ArgumentConversionException is an exception that can occur when an object is converted to another object by an implementation of an ArgumentConverter.

public class
DefaultArgumentConverter

DefaultArgumentConverter is the default implementation of the ArgumentConverter API.

pack-priv class
public abstract class
SimpleArgumentConverter

SimpleArgumentConverter is an abstract base class for ArgumentConverter implementations that only need to know the target type and do not need access to the ParameterContext to perform the conversion.

public abstract class
TypedArgumentConverter<
the type of the source argument to convert
S
,
the type of the target object to create from the source
T extends @Nullable Object
>

TypedArgumentConverter is an abstract base class for ArgumentConverter implementations that always convert objects of a given source type into a given target type.