ru.yandex.qatools.allure.events.TestSuiteFinishedEvent Maven / Gradle / Ivy
package ru.yandex.qatools.allure.events;
import ru.yandex.qatools.allure.model.TestSuiteResult;
/**
* @author Dmitry Baev [email protected]
* Date: 11.11.13
*
* Using to finish testSuite
* @see ru.yandex.qatools.allure.Allure
*/
public class TestSuiteFinishedEvent extends AbstractTestSuiteFinishedEvent {
/**
* Constructs an new event with specified uid
*
* @param uid initial uid
*/
public TestSuiteFinishedEvent(String uid) {
setUid(uid);
}
/**
* Sets testSuite finish time
*
* @param testSuite to change
*/
@Override
public void process(TestSuiteResult testSuite) {
testSuite.setStop(System.currentTimeMillis());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy