Package randoop.main
Enum GenInputsAbstract.BehaviorType
- java.lang.Object
-
- java.lang.Enum<GenInputsAbstract.BehaviorType>
-
- randoop.main.GenInputsAbstract.BehaviorType
-
- All Implemented Interfaces:
Serializable
,Comparable<GenInputsAbstract.BehaviorType>
- Enclosing class:
- GenInputsAbstract
public static enum GenInputsAbstract.BehaviorType extends Enum<GenInputsAbstract.BehaviorType>
The possible values for exception behavior types.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BehaviorType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenInputsAbstract.BehaviorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GenInputsAbstract.BehaviorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final GenInputsAbstract.BehaviorType ERROR
Occurrence of exception reveals an error.
-
EXPECTED
public static final GenInputsAbstract.BehaviorType EXPECTED
Occurrence of exception is expected behavior.
-
INVALID
public static final GenInputsAbstract.BehaviorType INVALID
Occurrence of exception indicates an invalid test.
-
-
Method Detail
-
values
public static GenInputsAbstract.BehaviorType[] 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 (GenInputsAbstract.BehaviorType c : GenInputsAbstract.BehaviorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenInputsAbstract.BehaviorType 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
-
-