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

jp.co.moneyforward.autotest.framework.annotations.ClosedBy 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 static java.lang.annotation.RetentionPolicy.RUNTIME;

///
/// An annotation to let the framework know an access-model method should be closed by an action specified by the method name.
/// This annotation should be attached to methods for "arrangement" phase, not for "act" (test) methods.
///
/// This annotation is activated only when the `PlanningStrategy#DEPENDENCY_BASED` is activated and usually attached to methods for test results checking.
///
/// @see PlanningStrategy#DEPENDENCY_BASED
///
@Retention(RUNTIME)
public @interface ClosedBy {
  ///
  /// A name of a method that returns an action, which closes an action returned by the annotated method.
  ///
  /// @return A name of a closer method.
  /// @see Named
  ///
  String value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy