Enum Class EventType

java.lang.Object
java.lang.Enum<EventType>
org.junit.platform.testkit.engine.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, Constable

@API(status=MAINTAINED, since="1.7") public enum EventType extends Enum<EventType>
Enumeration of the different possible Event types.
Since:
1.4
See Also:
Event
  • Enum Constant Details

    • DYNAMIC_TEST_REGISTERED

      public static final EventType DYNAMIC_TEST_REGISTERED
      Signals that a TestDescriptor has been dynamically registered.
      See Also:
      EngineExecutionListener.dynamicTestRegistered(TestDescriptor)
    • SKIPPED

      public static final EventType SKIPPED
      Signals that the execution of a TestDescriptor has been skipped.
      See Also:
      EngineExecutionListener.executionSkipped(TestDescriptor, String)
    • STARTED

      public static final EventType STARTED
      Signals that the execution of a TestDescriptor has started.
      See Also:
      EngineExecutionListener.executionStarted(TestDescriptor)
    • FINISHED

      public static final EventType FINISHED
      Signals that the execution of a TestDescriptor has finished, regardless of the outcome.
      See Also:
      EngineExecutionListener.executionFinished(TestDescriptor, TestExecutionResult)
    • REPORTING_ENTRY_PUBLISHED

      public static final EventType REPORTING_ENTRY_PUBLISHED
      Signals that a TestDescriptor published a reporting entry.
      See Also:
      EngineExecutionListener.reportingEntryPublished(TestDescriptor, ReportEntry)
  • Method Details

    • values

      public static EventType[] 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 EventType 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