Package com.piketec.tpt.api.tasmo
Enum CoverageGoalStatus
- java.lang.Object
-
- java.lang.Enum<CoverageGoalStatus>
-
- com.piketec.tpt.api.tasmo.CoverageGoalStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CoverageGoalStatus>
public enum CoverageGoalStatus extends java.lang.Enum<CoverageGoalStatus>
This enumeration represents the status of the TASMO test data generation for a specific coverage goal.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELED
Targeting this goal was canceled by the user.COVERED
This goal is coveredIN_PROGRESS
This goal is currely targeted by the TASMO test data generationNOT_COVERED
Not covered, search to cover this goal was automatically abortedOPEN
This goal has not been targeted yetUNDECIDABLE
The coverage status cannot be decided due to internal error (e.g. on instrumentation)UNREACHABLE
The goal was calculated as unreachable by static analysis
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoverageGoalStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CoverageGoalStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final CoverageGoalStatus OPEN
This goal has not been targeted yet
-
IN_PROGRESS
public static final CoverageGoalStatus IN_PROGRESS
This goal is currely targeted by the TASMO test data generation
-
CANCELED
public static final CoverageGoalStatus CANCELED
Targeting this goal was canceled by the user.
-
NOT_COVERED
public static final CoverageGoalStatus NOT_COVERED
Not covered, search to cover this goal was automatically aborted
-
COVERED
public static final CoverageGoalStatus COVERED
This goal is covered
-
UNDECIDABLE
public static final CoverageGoalStatus UNDECIDABLE
The coverage status cannot be decided due to internal error (e.g. on instrumentation)
-
UNREACHABLE
public static final CoverageGoalStatus UNREACHABLE
The goal was calculated as unreachable by static analysis
-
-
Method Detail
-
values
public static CoverageGoalStatus[] 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 (CoverageGoalStatus c : CoverageGoalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoverageGoalStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-