public static enum RandomBug.Mode extends Enum<RandomBug.Mode>
Ignore
JUnit annotation.RandomBug.Repeat.onSuccess()
is reached. If it does not fail during the tries, then the whole test class is marked
as failed.RandomBug.Repeat.onFailure()
is reached.Modifier and Type | Method and Description |
---|---|
static RandomBug.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RandomBug.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomBug.Mode BYPASS
public static final RandomBug.Mode STRICT
public static final RandomBug.Mode RELAX
public static RandomBug.Mode[] values()
for (RandomBug.Mode c : RandomBug.Mode.values()) System.out.println(c);
public static RandomBug.Mode 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 nullCopyright © 2016 Nuxeo SA. All rights reserved.