public static enum TextReport.OutputMode extends Enum<TextReport.OutputMode>
Enum Constant and Description |
---|
ALWAYS
Always display the output emitted from tests.
|
NEVER
Don't display the output, even on test failures.
|
ONERROR
Display the output only if a test/ suite failed.
|
Modifier and Type | Method and Description |
---|---|
static TextReport.OutputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextReport.OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextReport.OutputMode ALWAYS
public static final TextReport.OutputMode ONERROR
public static final TextReport.OutputMode NEVER
public static TextReport.OutputMode[] values()
for (TextReport.OutputMode c : TextReport.OutputMode.values()) System.out.println(c);
public static TextReport.OutputMode 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 © 2011–2015 Carrot Search s.c.. All rights reserved.