ru.yandex.qatools.allure.events.StepCanceledEvent Maven / Gradle / Ivy
The newest version!
package ru.yandex.qatools.allure.events;
import ru.yandex.qatools.allure.model.Status;
import ru.yandex.qatools.allure.model.Step;
/**
* @author Dmitry Baev [email protected]
* Date: 11.11.13
*
* Using to change step status to {@link ru.yandex.qatools.allure.model.Status#CANCELED}
*/
public class StepCanceledEvent extends AbstractStepCanceledEvent {
/**
* Change specified step status to {@link ru.yandex.qatools.allure.model.Status#CANCELED}
*
* @param step which will be changed
*/
@Override
public void process(Step step) {
step.setStatus(Status.CANCELED);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy