Package org.junit.runners.parameterized
Enum BlockJUnit4ClassRunnerWithParameters.InjectionType
- java.lang.Object
-
- java.lang.Enum<BlockJUnit4ClassRunnerWithParameters.InjectionType>
-
- org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParameters.InjectionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockJUnit4ClassRunnerWithParameters.InjectionType>
- Enclosing class:
- BlockJUnit4ClassRunnerWithParameters
private static enum BlockJUnit4ClassRunnerWithParameters.InjectionType extends java.lang.Enum<BlockJUnit4ClassRunnerWithParameters.InjectionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTOR
FIELD
-
Constructor Summary
Constructors Modifier Constructor Description private
InjectionType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockJUnit4ClassRunnerWithParameters.InjectionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockJUnit4ClassRunnerWithParameters.InjectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSTRUCTOR
public static final BlockJUnit4ClassRunnerWithParameters.InjectionType CONSTRUCTOR
-
FIELD
public static final BlockJUnit4ClassRunnerWithParameters.InjectionType FIELD
-
-
Method Detail
-
values
public static BlockJUnit4ClassRunnerWithParameters.InjectionType[] 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 (BlockJUnit4ClassRunnerWithParameters.InjectionType c : BlockJUnit4ClassRunnerWithParameters.InjectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockJUnit4ClassRunnerWithParameters.InjectionType 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
-
-