public abstract class AbstractSpecRunnerHtmlGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
JAVASCRIPT_DEPENDENCIES_TEMPLATE_ATTR_NAME |
protected static String |
REPORTER_ATTR_NAME |
protected static String |
SOURCES_TEMPLATE_ATTR_NAME |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpecRunnerHtmlGenerator(HtmlGeneratorConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyCssToTemplate(List<String> styles,
org.stringtemplate.v4.ST template) |
protected void |
applyScriptTagsToTemplate(String sourcesTemplateAttrName,
Collection<String> scripts,
org.stringtemplate.v4.ST template) |
HtmlGeneratorConfiguration |
getConfiguration() |
protected org.stringtemplate.v4.ST |
resolveHtmlTemplate() |
protected void |
setEncoding(HtmlGeneratorConfiguration htmlGeneratorConfiguration,
org.stringtemplate.v4.ST template) |
protected static final String JAVASCRIPT_DEPENDENCIES_TEMPLATE_ATTR_NAME
protected static final String SOURCES_TEMPLATE_ATTR_NAME
protected static final String REPORTER_ATTR_NAME
protected AbstractSpecRunnerHtmlGenerator(HtmlGeneratorConfiguration configuration)
protected void setEncoding(HtmlGeneratorConfiguration htmlGeneratorConfiguration, org.stringtemplate.v4.ST template)
protected org.stringtemplate.v4.ST resolveHtmlTemplate() throws IOException
IOException
protected void applyCssToTemplate(List<String> styles, org.stringtemplate.v4.ST template) throws IOException
IOException
public HtmlGeneratorConfiguration getConfiguration()
protected void applyScriptTagsToTemplate(String sourcesTemplateAttrName, Collection<String> scripts, org.stringtemplate.v4.ST template) throws IOException
IOException
Copyright © 2016. All rights reserved.