Enum Class GuiceyTestTime

java.lang.Object
java.lang.Enum<GuiceyTestTime>
ru.vyarus.dropwizard.guice.test.jupiter.ext.conf.track.GuiceyTestTime
All Implemented Interfaces:
Serializable, Comparable<GuiceyTestTime>, Constable

public enum GuiceyTestTime extends Enum<GuiceyTestTime>
Guicey timers for test extensions performance measurement.

Note that actions may be performed under different test phases (e.g., application could start in before all for all test methods, but could be in before each for per-method instance tests).

Since:
04.02.2025
  • Enum Constant Details

    • BeforeAll

      public static final GuiceyTestTime BeforeAll
      Before all time.
    • BeforeEach

      public static final GuiceyTestTime BeforeEach
      Before each time.
    • AfterEach

      public static final GuiceyTestTime AfterEach
      After each time.
    • AfterAll

      public static final GuiceyTestTime AfterAll
      After all time.
    • GuiceInjection

      public static final GuiceyTestTime GuiceInjection
      Guice injectMemebers() executed for test instance.
    • ReusableAppWarnings

      public static final GuiceyTestTime ReusableAppWarnings
      Hook and setup fields searched to verify correctness (different from fields analysis below).
    • GuiceyFieldsSearch

      public static final GuiceyTestTime GuiceyFieldsSearch
      Guicey hook and setup fields found and resolved (reflection).
    • HooksRegistration

      public static final GuiceyTestTime HooksRegistration
      Registration of hooks resolved from fields and declared in extension (application hooks registration not tracked).
    • SetupObjectsExecution

      public static final GuiceyTestTime SetupObjectsExecution
      Setup objects executed.
    • DropwizardTestSupport

      public static final GuiceyTestTime DropwizardTestSupport
      Creation of the dropwizard or guicey test support object.
    • SupportStart

      public static final GuiceyTestTime SupportStart
      Test support object before() executed (application start plus configuration overrides).
    • SupportStop

      public static final GuiceyTestTime SupportStop
      Test support after() executed (application stopped).
    • TestListeners

      public static final GuiceyTestTime TestListeners
      Test listeners time (registered in setup objects).
  • Method Details

    • values

      public static GuiceyTestTime[] 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 GuiceyTestTime 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
    • getDisplayName

      public String getDisplayName()
      Returns:
      display name