public static enum TestDescriptor.Type extends Enum<TestDescriptor.Type>
TestDescriptors
.Enum Constant and Description |
---|
CONTAINER
Denotes that the
TestDescriptor is for a container. |
CONTAINER_AND_TEST
Denotes that the
TestDescriptor is for a test
that may potentially also be a container. |
TEST
Denotes that the
TestDescriptor is for a test. |
Modifier and Type | Method and Description |
---|---|
boolean |
isContainer() |
boolean |
isTest() |
static TestDescriptor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestDescriptor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestDescriptor.Type CONTAINER
TestDescriptor
is for a container.public static final TestDescriptor.Type TEST
TestDescriptor
is for a test.public static final TestDescriptor.Type CONTAINER_AND_TEST
TestDescriptor
is for a test
that may potentially also be a container.public static TestDescriptor.Type[] values()
for (TestDescriptor.Type c : TestDescriptor.Type.values()) System.out.println(c);
public static TestDescriptor.Type 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 nullpublic boolean isContainer()
true
if this type represents a descriptor that can
contain other descriptorspublic boolean isTest()
true
if this type represents a descriptor for a test