Package org.junit.jupiter.params
Enum ParameterizedTestMethodContext.ResolverType
- java.lang.Object
-
- java.lang.Enum<ParameterizedTestMethodContext.ResolverType>
-
- org.junit.jupiter.params.ParameterizedTestMethodContext.ResolverType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParameterizedTestMethodContext.ResolverType>
- Enclosing class:
- ParameterizedTestMethodContext
static enum ParameterizedTestMethodContext.ResolverType extends java.lang.Enum<ParameterizedTestMethodContext.ResolverType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATOR
CONVERTER
-
Constructor Summary
Constructors Modifier Constructor Description private
ResolverType()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract ParameterizedTestMethodContext.Resolver
createResolver(ParameterContext parameterContext)
static ParameterizedTestMethodContext.ResolverType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ParameterizedTestMethodContext.ResolverType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONVERTER
public static final ParameterizedTestMethodContext.ResolverType CONVERTER
-
AGGREGATOR
public static final ParameterizedTestMethodContext.ResolverType AGGREGATOR
-
-
Method Detail
-
values
public static ParameterizedTestMethodContext.ResolverType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ParameterizedTestMethodContext.ResolverType c : ParameterizedTestMethodContext.ResolverType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterizedTestMethodContext.ResolverType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
createResolver
abstract ParameterizedTestMethodContext.Resolver createResolver(ParameterContext parameterContext)
-
-