Package daikon.dcomp
Enum DCInstrument.JUnitState
- Object
-
- Enum<DCInstrument.JUnitState>
-
- JUnitState
-
- All Implemented Interfaces:
Serializable
,Comparable<DCInstrument.JUnitState>
- Enclosing class:
- DCInstrument
protected static enum DCInstrument.JUnitState extends Enum<DCInstrument.JUnitState>
Possible states of JUnit test discovery.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_SEEN
RUNNING
STARTING
TEST_DISCOVERY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DCInstrument.JUnitState
valueOf(String name)
Returns the enum constant of this type with the specified name.static DCInstrument.JUnitState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_SEEN
public static final DCInstrument.JUnitState NOT_SEEN
-
STARTING
public static final DCInstrument.JUnitState STARTING
-
TEST_DISCOVERY
public static final DCInstrument.JUnitState TEST_DISCOVERY
-
RUNNING
public static final DCInstrument.JUnitState RUNNING
-
-
Method Detail
-
values
public static DCInstrument.JUnitState[] 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 (DCInstrument.JUnitState c : DCInstrument.JUnitState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DCInstrument.JUnitState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-