ru.yandex.qatools.allure.events.StepStartedEvent Maven / Gradle / Ivy
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
*/
public class StepStartedEvent extends AbstractStepStartedEvent {
public StepStartedEvent(String name) {
setName(name);
}
@Override
public void process(Step step) {
step.setName(getName());
step.setStatus(Status.PASSED);
step.setStart(System.currentTimeMillis());
step.setTitle(getTitle());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy