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

jp.co.moneyforward.autotest.framework.annotations.DependsOn Maven / Gradle / Ivy

The newest version!
package jp.co.moneyforward.autotest.framework.annotations;

import jp.co.moneyforward.autotest.framework.testengine.PlanningStrategy;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

///
/// An annotation to define a dependency of a method to which this is attached.
///
/// This annotation is read by the framework only when the `PlanningStrategy#DEPENDENCY_BASED` is activated and usually attached to methods for performing action to be verified.
///
/// This and `@When` annotations are used mutually exclusively.
///
/// @see When
/// @see PlanningStrategy#DEPENDENCY_BASED
/// @deprecated Use {@link Given} instead.
///
@Retention(RUNTIME)
@Target(METHOD)
@Deprecated(forRemoval = true)
public @interface DependsOn {
  ///
  /// Returns names of scenes on which attached scene method is depending.
  ///
  /// @return Names of scenes on which attached scene method is depending.
  ///
  /// @see Named
  ///
  String[] value() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy