public List<TestOutcome> getAllTestOutcomes() { return flatten(extract(baseStepListeners, on(BaseStepListener.class).getTestOutcomes())); }
List<FormBean> allForms = flatten(collect(studies, on(Study.class).forms())); for (Study study : studies) { for (FormBeanGroup group : study.groupedForms()) {
public List<ScreenshotAndHtmlSource> getScreenshotAndHtmlSources() { List<TestStep> testStepsWithScreenshots = select(getFlattenedTestSteps(), having(on(TestStep.class).needsScreenshots())); return flatten(extract(testStepsWithScreenshots, on(TestStep.class).getScreenshots())); }
public List<ScreenshotAndHtmlSource> getScreenshotAndHtmlSources() { List<TestStep> testStepsWithScreenshots = select(getFlattenedTestSteps(), having(on(TestStep.class).needsScreenshots())); return flatten(extract(testStepsWithScreenshots, on(TestStep.class).getScreenshots())); }