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
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAfter all time.After each time.Before all time.Before each time.Creation of the dropwizard or guicey test support object.Guice injectMemebers() executed for test instance.Guicey hook and setup fields found and resolved (reflection).Registration of hooks resolved from fields and declared in extension (application hooks registration not tracked).Hook and setup fields searched to verify correctness (different from fields analysis below).Setup objects executed.Test support object before() executed (application start plus configuration overrides).Test support after() executed (application stopped).Test listeners time (registered in setup objects). -
Method Summary
Modifier and TypeMethodDescriptionstatic GuiceyTestTimeReturns the enum constant of this class with the specified name.static GuiceyTestTime[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BeforeAll
Before all time. -
BeforeEach
Before each time. -
AfterEach
After each time. -
AfterAll
After all time. -
GuiceInjection
Guice injectMemebers() executed for test instance. -
ReusableAppWarnings
Hook and setup fields searched to verify correctness (different from fields analysis below). -
GuiceyFieldsSearch
Guicey hook and setup fields found and resolved (reflection). -
HooksRegistration
Registration of hooks resolved from fields and declared in extension (application hooks registration not tracked). -
SetupObjectsExecution
Setup objects executed. -
DropwizardTestSupport
Creation of the dropwizard or guicey test support object. -
SupportStart
Test support object before() executed (application start plus configuration overrides). -
SupportStop
Test support after() executed (application stopped). -
TestListeners
Test listeners time (registered in setup objects).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDisplayName
- Returns:
- display name
-