public enum ResultType extends Enum<ResultType>
Enum Constant and Description |
---|
ASSUMPTION_VIOLATION
The test was attempted but did not run to completion.
|
DISABLED
The test was not run because it was excluded in source code, such as with JUnit's
Ignore annotation or TestNG's Test.enabled() field. |
DRY_RUN
The test was not run because the user chose to run tests with the --dry-run flag, which caused
the test runner to print out the names of tests that *would* have run without actually running
them.
|
EXCLUDED
The test was not run because it was excluded by the user (e.g., specifying
TestSelectorOptions ). |
FAILURE
The test ran, but it failed with either an assertion error or an unexpected uncaught exception.
|
SUCCESS
The test ran successfully.
|
Modifier and Type | Method and Description |
---|---|
static ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultType DRY_RUN
public static final ResultType EXCLUDED
TestSelectorOptions
).public static final ResultType DISABLED
Ignore
annotation or TestNG's Test.enabled()
field.public static final ResultType ASSUMPTION_VIOLATION
Assume
.public static final ResultType FAILURE
public static final ResultType SUCCESS
public static ResultType[] values()
for (ResultType c : ResultType.values()) System.out.println(c);
public static ResultType 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 null