Package org.junit.jupiter.params.converter


package org.junit.jupiter.params.converter
ArgumentConverter implementations and the corresponding @ConvertWith annotation.
  • Interface Summary
    Interface
    Description
    ArgumentConverter is an abstraction that allows an input object to be converted to an instance of a different class.
  • Class Summary
    Class
    Description
    DefaultArgumentConverter is the default implementation of the ArgumentConverter API.
    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.
    TypedArgumentConverter is an abstract base class for ArgumentConverter implementations that always convert objects of a given source type into a given target type.
  • Exception Summary
    Exception
    Description
    ArgumentConversionException is an exception that can occur when an object is converted to another object by an implementation of an ArgumentConverter.
  • Annotation Interfaces Summary
    Annotation Interface
    Description
    @ConvertWith is an annotation that allows one to specify an explicit ArgumentConverter.
    @JavaTimeConversionPattern is an annotation that allows a date/time conversion pattern to be specified on a parameter of a @ParameterizedTest method.