public enum TestBlockType extends java.lang.Enum<TestBlockType>
TestBlock
Enum Constant and Description |
---|
DESCRIBE
A 'describe' test block.
|
ROOT
Root test block, which contains all other test blocks and tests.
|
WHEN
A 'when' test block.
|
Modifier and Type | Method and Description |
---|---|
static TestBlockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestBlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestBlockType ROOT
public static final TestBlockType DESCRIBE
Cuppa.describe(String, TestBlockFunction)
.public static final TestBlockType WHEN
Cuppa.when(String, TestBlockFunction)
.public static TestBlockType[] values()
for (TestBlockType c : TestBlockType.values()) System.out.println(c);
public static TestBlockType 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