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 © 2014 Nuxeo SA. All rights reserved.