public static enum CaseResult.Status extends Enum<CaseResult.Status>
Enum Constant and 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.
|
Modifier and Type | Field and Description |
---|---|
boolean |
isOK |
Modifier and Type | Method and 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.
|
public static final CaseResult.Status PASSED
public static final CaseResult.Status SKIPPED
public static final CaseResult.Status FAILED
public static final CaseResult.Status FIXED
public static final CaseResult.Status REGRESSION
public static CaseResult.Status[] values()
for (CaseResult.Status c : CaseResult.Status.values()) System.out.println(c);
public static CaseResult.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCssClass()
public String getMessage()
public boolean isRegression()
Copyright © 2004-2016. All Rights Reserved.