@API(status=INTERNAL, since="1.0") public enum Theme extends Enum<Theme>
Enum Constant and Description |
---|
ASCII
ASCII 7-bit characters form the tree branch.
|
UNICODE
Unicode (extended ASCII) characters are used to display the test execution tree.
|
Modifier and Type | Method and Description |
---|---|
String |
aborted() |
String |
blank() |
String |
end() |
String |
entry() |
String |
failed() |
String |
root() |
String |
skipped() |
String |
status(TestExecutionResult result) |
String |
successful() |
String |
toString()
Return lower case
Enum.name for easier usage in help text for
available options. |
static Theme |
valueOf(Charset charset) |
static Theme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Theme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
vertical() |
public static final Theme ASCII
Example test plan execution tree:
+-- engine alpha | '-- container BEGIN | +-- test 00 [OK] | '-- test 01 [OK] '-- engine omega +-- container END | +-- test 10 [OK] | '-- test 11 [A] aborted '-- container FINAL +-- skipped [S] because '-- failing [X] BäMM
public static final Theme UNICODE
Example test plan execution tree:
├─ engine alpha ✔ │ └─ container BEGIN ✔ │ ├─ test 00 ✔ │ └─ test 01 ✔ └─ engine omega ✔ ├─ container END ✔ │ ├─ test 10 ✔ │ └─ test 11 ■ aborted └─ container FINAL ✔ ├─ skipped ↷ because └─ failing ✘ BäMM
public static Theme[] values()
for (Theme c : Theme.values()) System.out.println(c);
public static Theme 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 final String root()
public final String vertical()
public final String blank()
public final String entry()
public final String end()
public final String successful()
public final String aborted()
public final String failed()
public final String skipped()
public final String status(TestExecutionResult result)