ru.yandex.qatools.allure.io.TestCaseReader Maven / Gradle / Ivy
package ru.yandex.qatools.allure.io;
import com.google.inject.Inject;
import ru.yandex.qatools.allure.model.TestCaseResult;
import ru.yandex.qatools.allure.model.TestSuiteResult;
import java.util.Iterator;
/**
* @author Dmitry Baev [email protected]
* Date: 09.02.15
*/
public class TestCaseReader implements Reader {
public static final String SUITE_NAME = "suite-name";
public static final String SUITE_TITLE = "suite-title";
private final Reader testSuites;
@Inject
public TestCaseReader(Reader suiteResultsReader) {
testSuites = suiteResultsReader;
}
@Override
public Iterator iterator() {
return new TestCaseResultIterator2(testSuites);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy