All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.hilling.junit.cdi.lifecycle.TestEvent Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
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