Package hudson.tasks.junit
Enum CaseResult.Status
- java.lang.Object
-
- java.lang.Enum<CaseResult.Status>
-
- hudson.tasks.junit.CaseResult.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<CaseResult.Status>
- Enclosing class:
- CaseResult
public static enum CaseResult.Status extends Enum<CaseResult.Status>
Constants that represent the status of this test.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILED
This test failed, just like its previous run.FIXED
This test has been failing, but now it runs OK.PASSED
This test runs OK, just like its previous run.REGRESSION
This test has been running OK, but now it failed.SKIPPED
This test was skipped due to configuration or the failure or skipping of a method that it depends on.
-
Field Summary
Fields Modifier and Type Field Description boolean
isOK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCssClass()
String
getMessage()
boolean
isRegression()
static CaseResult.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static CaseResult.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSED
public static final CaseResult.Status PASSED
This test runs OK, just like its previous run.
-
SKIPPED
public static final CaseResult.Status SKIPPED
This test was skipped due to configuration or the failure or skipping of a method that it depends on.
-
FAILED
public static final CaseResult.Status FAILED
This test failed, just like its previous run.
-
FIXED
public static final CaseResult.Status FIXED
This test has been failing, but now it runs OK.
-
REGRESSION
public static final CaseResult.Status REGRESSION
This test has been running OK, but now it failed.
-
-
Method Detail
-
values
public static CaseResult.Status[] 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 (CaseResult.Status c : CaseResult.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CaseResult.Status 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
-
getCssClass
public String getCssClass()
-
getMessage
public String getMessage()
-
isRegression
public boolean isRegression()
-
-