ru.yandex.qatools.allure.storages.TestCaseStorage Maven / Gradle / Ivy
The newest version!
package ru.yandex.qatools.allure.storages;
import ru.yandex.qatools.allure.model.TestCaseResult;
/**
* @author Dmitry Baev [email protected]
* Date: 13.12.13
*
* Using to storage information about current testCase context
* @see ru.yandex.qatools.allure.Allure
*/
public class TestCaseStorage extends ThreadLocal {
/**
* Returns the current thread's "initial value". Construct an new
* {@link ru.yandex.qatools.allure.model.TestCaseResult}
*
* @return the initial value for this thread-local
*/
@Override
protected TestCaseResult initialValue() {
return new TestCaseResult();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy