@API(value=Internal) 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 String root()
public String vertical()
public String blank()
public String entry()
public String end()
public String successful()
public String aborted()
public String failed()
public String skipped()
public String status(TestExecutionResult result)