de.hilling.junit.cdi.lifecycle.TestEvent Maven / Gradle / Ivy
package de.hilling.junit.cdi.lifecycle;
import jakarta.inject.Qualifier;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.immutables.value.Value;
import de.hilling.junit.cdi.scope.TestState;
/**
* Qualifier to mark test events defined in {@link TestState}
*/
@Qualifier
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Value.Immutable
public @interface TestEvent {
/**
* @return current {@link TestState}
*/
TestState value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy