public enum FailureMode extends Enum<FailureMode>
Enum Constant and Description |
---|
DO_NOT_IGNORE_FAILURE
Helper constant to indicate that test failures for negative tests are being recognised.
|
IGNORE_FAILURE
Helper constant to indicate that test failures for negative tests are being ignored.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ignoreFailure() |
static FailureMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureMode IGNORE_FAILURE
public static final FailureMode DO_NOT_IGNORE_FAILURE
public static FailureMode[] values()
for (FailureMode c : FailureMode.values()) System.out.println(c);
public static FailureMode 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 boolean ignoreFailure()
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.