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

com.tngtech.jgiven.annotation.ProvidedScenarioState Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.tngtech.jgiven.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.tngtech.jgiven.annotation.ScenarioState.Resolution;

/**
 * Marks fields to be provided by a scenario stage.
 * The annotation behaves exactly like {@link ScenarioState},
 * but better indicates the usage of a field.
 */
@Documented
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.FIELD )
public @interface ProvidedScenarioState {
    Resolution resolution() default Resolution.AUTO;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy