Enum Theme
- java.lang.Object
-
- java.lang.Enum<Theme>
-
- org.junit.platform.console.options.Theme
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
aborted()
java.lang.String
blank()
java.lang.String
end()
java.lang.String
entry()
java.lang.String
failed()
java.lang.String
root()
java.lang.String
skipped()
java.lang.String
status(TestExecutionResult result)
java.lang.String
successful()
java.lang.String
toString()
Return lower caseEnum.name
for easier usage in help text for available options.static Theme
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Theme
valueOf(java.nio.charset.Charset charset)
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.java.lang.String
vertical()
-
-
-
Enum Constant Detail
-
ASCII
public static final Theme ASCII
ASCII 7-bit characters form the tree branch.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
-
UNICODE
public static final Theme UNICODE
Unicode (extended ASCII) characters are used to display the test execution tree.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
-
-
Method Detail
-
values
public static Theme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Theme c : Theme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Theme valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static Theme valueOf(java.nio.charset.Charset charset)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
charset
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
root
public final java.lang.String root()
-
vertical
public final java.lang.String vertical()
-
blank
public final java.lang.String blank()
-
entry
public final java.lang.String entry()
-
end
public final java.lang.String end()
-
successful
public final java.lang.String successful()
-
aborted
public final java.lang.String aborted()
-
failed
public final java.lang.String failed()
-
skipped
public final java.lang.String skipped()
-
status
public final java.lang.String status(TestExecutionResult result)
-
toString
public final java.lang.String toString()
Return lower caseEnum.name
for easier usage in help text for available options.- Overrides:
toString
in classjava.lang.Enum<Theme>
-
-