de.hilling.junit.cdi.annotations.ActivatableTestImplementation Maven / Gradle / Ivy
package de.hilling.junit.cdi.annotations;
import jakarta.enterprise.inject.Stereotype;
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.TestScoped;
/**
* Use this annotation to mark Alternatives that can be enabled per test class.
*/
@TestScoped
@Stereotype
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Value.Immutable
public @interface ActivatableTestImplementation {
/**
* Enumerates the classes and/or interfaces that should be replaced by the injected bean.
* @return activatable beans.
*/
Class>[] value() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy