tw.teddysoft.ezspec.keyword.ThenSuccess Maven / Gradle / Ivy
package tw.teddysoft.ezspec.keyword;
import java.util.function.Consumer;
/**
* {@code ThenSuccess} is a class for representing the test steps are
* executed correctly.
*
* @author Teddy Chen
* @since 1.0
*/
public class ThenSuccess extends Step implements ConcurrentGroup {
public static final String KEYWORD = "Then success";
/**
* Instantiates a new ThenSuccess step.
*
* @param description the step description
* @param continuous the parameter for deciding to continue executing
* the next step after this step failed
* @param callback the step definition
*/
public ThenSuccess(String description, boolean continuous, Consumer callback){
super(description, continuous, callback);
}
@Override
public String getName() {
return KEYWORD;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy