de.hilling.junit.cdi.scope.TestState Maven / Gradle / Ivy
package de.hilling.junit.cdi.scope;
/**
* Unit test event type.
*/
public enum TestState {
/**
* CDI scopes are about to be started.
*
* The CDI scopes for the test are started next.
*
*/
STARTING,
/**
* Unit test is about to start.
*
* The event will be sent just before the test method is called.
* The CDI scopes for the test are already active.
*
*/
STARTED,
/**
* Unit test is finishing.
*
* The event will be sent after the test method has finished but before
* the scopes are closed.
*
*/
FINISHING,
/**
* Unit test has finished.
*
* The test method finished and the CDI scopes of the test are closed.
*
*/
FINISHED
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy