java.lang.Object
java.lang.Enum<Theme>
org.junit.platform.console.options.Theme
All Implemented Interfaces:
Serializable, Comparable<Theme>, Constable

@API(status=INTERNAL, since="1.0") public enum Theme extends Enum<Theme>
Since:
1.0
  • Enum Constant Details

    • 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 Details

    • values

      public static Theme[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Theme valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static Theme valueOf(Charset charset)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • root

      public final String root()
    • vertical

      public final String vertical()
    • blank

      public final String blank()
    • entry

      public final String entry()
    • end

      public final String end()
    • successful

      public final String successful()
    • aborted

      public final String aborted()
    • failed

      public final String failed()
    • skipped

      public final String skipped()
    • status

      public final String status(TestExecutionResult result)
    • toString

      public final String toString()
      Return lower case Enum.name() for easier usage in help text for available options.
      Overrides:
      toString in class Enum<Theme>