Package randoop.generation
Enum OperationOutcome
- java.lang.Object
-
- java.lang.Enum<OperationOutcome>
-
- randoop.generation.OperationOutcome
-
- All Implemented Interfaces:
Serializable
,Comparable<OperationOutcome>
public enum OperationOutcome extends Enum<OperationOutcome>
Representations for outcomes after an operation is selected during generation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_SEQUENCE
A sequence was generated and output as an Error-revealing sequence.NO_INPUTS_FOUND
No sequence was generated because no inputs could be found.REGRESSION_SEQUENCE
A sequence was generated and output as a regression test sequence.REMOVED
The operation was removed from the list.SEQUENCE_DISCARDED
The generated sequence was discarded for one of several reasons.SUBSUMED
The generated sequence was discarded because it was subsumed.
-
Constructor Summary
Constructors Modifier Constructor Description private
OperationOutcome()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationOutcome
valueOf(String name)
Returns the enum constant of this type with the specified name.static OperationOutcome[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_SEQUENCE
public static final OperationOutcome ERROR_SEQUENCE
A sequence was generated and output as an Error-revealing sequence.
-
REGRESSION_SEQUENCE
public static final OperationOutcome REGRESSION_SEQUENCE
A sequence was generated and output as a regression test sequence.
-
NO_INPUTS_FOUND
public static final OperationOutcome NO_INPUTS_FOUND
No sequence was generated because no inputs could be found.
-
REMOVED
public static final OperationOutcome REMOVED
The operation was removed from the list.
-
SUBSUMED
public static final OperationOutcome SUBSUMED
The generated sequence was discarded because it was subsumed.
-
SEQUENCE_DISCARDED
public static final OperationOutcome SEQUENCE_DISCARDED
The generated sequence was discarded for one of several reasons.
-
-
Method Detail
-
values
public static OperationOutcome[] 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 (OperationOutcome c : OperationOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationOutcome 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
-
-