Enum Class FlakyCaseResult.Status
java.lang.Object
java.lang.Enum<FlakyCaseResult.Status>
com.google.jenkins.flakyTestHandler.junit.FlakyCaseResult.Status
- All Implemented Interfaces:
Serializable
,Comparable<FlakyCaseResult.Status>
,Constable
- Enclosing class:
- FlakyCaseResult
@SuppressRestrictedWarnings(hudson.tasks.junit.Messages.class)
public static enum FlakyCaseResult.Status
extends Enum<FlakyCaseResult.Status>
Constants that represent the status of this test.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis test failed, just like its previous run.This test has been failing, but now it runs OK.This test runs OK, just like its previous run.This test has been running OK, but now it failed.This test was skipped due to configuration or the failure or skipping of a method that it depends on. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
static FlakyCaseResult.Status
Returns the enum constant of this class with the specified name.static FlakyCaseResult.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASSED
This test runs OK, just like its previous run. -
SKIPPED
This test was skipped due to configuration or the failure or skipping of a method that it depends on. -
FAILED
This test failed, just like its previous run. -
FIXED
This test has been failing, but now it runs OK. -
REGRESSION
This test has been running OK, but now it failed.
-
-
Field Details
-
isOK
public final boolean isOK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCssClass
-
getMessage
-
isRegression
public boolean isRegression()
-