public static enum NestedTestConfiguration.EnclosingConfiguration extends Enum<NestedTestConfiguration.EnclosingConfiguration>
| Enum Constant and Description |
|---|
INHERIT
Indicates that test configuration for an inner test class should be
inherited from its enclosing class, as if the enclosing class were a superclass.
|
OVERRIDE
Indicates that test configuration for an inner test class should
override configuration from its
enclosing class.
|
| Modifier and Type | Method and Description |
|---|---|
static NestedTestConfiguration.EnclosingConfiguration |
from(String name)
Get the
EnclosingConfiguration enum constant with the supplied
name, ignoring case. |
static NestedTestConfiguration.EnclosingConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NestedTestConfiguration.EnclosingConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NestedTestConfiguration.EnclosingConfiguration INHERIT
public static final NestedTestConfiguration.EnclosingConfiguration OVERRIDE
public static NestedTestConfiguration.EnclosingConfiguration[] values()
for (NestedTestConfiguration.EnclosingConfiguration c : NestedTestConfiguration.EnclosingConfiguration.values()) System.out.println(c);
public static NestedTestConfiguration.EnclosingConfiguration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public static NestedTestConfiguration.EnclosingConfiguration from(@Nullable String name)
EnclosingConfiguration enum constant with the supplied
name, ignoring case.name - the name of the enum constant to retrievenull if not foundvalueOf(String)