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

ru.yandex.qatools.allure.events.TestCasePendingEvent Maven / Gradle / Ivy

There is a newer version: 1.4.0.RC9
Show newest version
package ru.yandex.qatools.allure.events;

import ru.yandex.qatools.allure.model.Status;

/**
 * @author Dmitry Baev [email protected]
 *         Date: 11.11.13
 */
public class TestCasePendingEvent extends TestCaseStatusChangeEvent {

    private String message = "Test not implemented yet";

    @Override
    protected Status getStatus() {
        return Status.PENDING;
    }

    @Override
    protected String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public TestCasePendingEvent withMessage(String message) {
        setMessage(message);
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy