public enum ExtensionMode extends java.lang.Enum<ExtensionMode>
Enum Constant and Description |
---|
AUTO |
PER_ALL
When using this mode, a container instance will be created for each test class
|
PER_EACH
When using this mode, a container instance will be created for each test
|
PER_JVM
When using this mode, a container instance will be created once for the JVM lifetime.
|
Modifier and Type | Method and Description |
---|---|
static ExtensionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionMode PER_JVM
public static final ExtensionMode PER_ALL
public static final ExtensionMode PER_EACH
public static final ExtensionMode AUTO
public static ExtensionMode[] values()
for (ExtensionMode c : ExtensionMode.values()) System.out.println(c);
public static ExtensionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null