@Test public void testContentRendering() throws CluecumberPluginException { Template template = mock(Template.class); Element element = new Element(); List<Step> steps = new ArrayList<>(); element.setSteps(steps); ScenarioDetailsPageCollection scenarioDetailsPageCollection = new ScenarioDetailsPageCollection(element, ""); scenarioDetailsPageRenderer.getRenderedContent(scenarioDetailsPageCollection, template); }
public String getRenderedContent( final ScenarioDetailsPageCollection scenarioDetailsPageCollection, final Template template) throws CluecumberPluginException { scenarioDetailsPageCollection.setExpandBeforeAfterHooks(propertyManager.isExpandBeforeAfterHooks()); scenarioDetailsPageCollection.setExpandStepHooks(propertyManager.isExpandStepHooks()); scenarioDetailsPageCollection.setExpandDocStrings(propertyManager.isExpandDocStrings()); addChartJsonToReportDetails(scenarioDetailsPageCollection); return processedContent(template, scenarioDetailsPageCollection); }
ScenarioDetailsPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final ScenarioDetailsPageCollection scenarioDetailsPageCollection, final Template template) throws CluecumberPluginException { scenarioDetailsPageCollection.setExpandBeforeAfterHooks(propertyManager.isExpandBeforeAfterHooks()); scenarioDetailsPageCollection.setExpandStepHooks(propertyManager.isExpandStepHooks()); scenarioDetailsPageCollection.setExpandDocStrings(propertyManager.isExpandDocStrings()); addChartJsonToReportDetails(scenarioDetailsPageCollection); return processedContent(template, scenarioDetailsPageCollection); } }
ScenarioDetailsPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final ScenarioDetailsPageCollection scenarioDetailsPageCollection, final Template template) throws CluecumberPluginException { scenarioDetailsPageCollection.setExpandBeforeAfterHooks(propertyManager.isExpandBeforeAfterHooks()); scenarioDetailsPageCollection.setExpandStepHooks(propertyManager.isExpandStepHooks()); scenarioDetailsPageCollection.setExpandDocStrings(propertyManager.isExpandDocStrings()); addChartJsonToReportDetails(scenarioDetailsPageCollection); return processedContent(template, scenarioDetailsPageCollection); } @Inject  ScenarioDetailsPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration,
            final PropertyManager propertyManager); }
ScenarioDetailsPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final ScenarioDetailsPageCollection scenarioDetailsPageCollection, final Template template) throws CluecumberPluginException { scenarioDetailsPageCollection.setExpandBeforeAfterHooks(propertyManager.isExpandBeforeAfterHooks()); scenarioDetailsPageCollection.setExpandStepHooks(propertyManager.isExpandStepHooks()); scenarioDetailsPageCollection.setExpandDocStrings(propertyManager.isExpandDocStrings()); addChartJsonToReportDetails(scenarioDetailsPageCollection); return processedContent(template, scenarioDetailsPageCollection); } @Inject  ScenarioDetailsPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration,
            final PropertyManager propertyManager); String getRenderedContent(
            final ScenarioDetailsPageCollection scenarioDetailsPageCollection,
            final Template template); }
ScenarioDetailsPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final ScenarioDetailsPageCollection scenarioDetailsPageCollection, final Template template) throws CluecumberPluginException { scenarioDetailsPageCollection.setExpandBeforeAfterHooks(propertyManager.isExpandBeforeAfterHooks()); scenarioDetailsPageCollection.setExpandStepHooks(propertyManager.isExpandStepHooks()); scenarioDetailsPageCollection.setExpandDocStrings(propertyManager.isExpandDocStrings()); addChartJsonToReportDetails(scenarioDetailsPageCollection); return processedContent(template, scenarioDetailsPageCollection); } @Inject  ScenarioDetailsPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration,
            final PropertyManager propertyManager); String getRenderedContent(
            final ScenarioDetailsPageCollection scenarioDetailsPageCollection,
            final Template template);  }