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.Stringaborted()java.lang.Stringblank()java.lang.Stringend()java.lang.Stringentry()java.lang.Stringfailed()java.lang.Stringroot()java.lang.Stringskipped()java.lang.Stringstatus(TestExecutionResult result)java.lang.Stringsuccessful()java.lang.StringtoString()Return lower caseEnum.namefor easier usage in help text for available options.static ThemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ThemevalueOf(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.Stringvertical()
-
-
-
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.namefor easier usage in help text for available options.- Overrides:
toStringin classjava.lang.Enum<Theme>
-
-