com.github.searls.jasmine.runner
Class AbstractSpecRunnerHtmlGenerator
java.lang.Object
com.github.searls.jasmine.runner.AbstractSpecRunnerHtmlGenerator
- Direct Known Subclasses:
- DefaultSpecRunnerHtmlGenerator, RequireJsSpecRunnerHtmlGenerator
public abstract class AbstractSpecRunnerHtmlGenerator
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCES_TEMPLATE_ATTR_NAME
protected static final String SOURCES_TEMPLATE_ATTR_NAME
- See Also:
- Constant Field Values
REPORTER_ATTR_NAME
protected static final String REPORTER_ATTR_NAME
- See Also:
- Constant Field Values
AbstractSpecRunnerHtmlGenerator
protected AbstractSpecRunnerHtmlGenerator(HtmlGeneratorConfiguration configuration)
setEncoding
protected void setEncoding(HtmlGeneratorConfiguration htmlGeneratorConfiguration,
org.antlr.stringtemplate.StringTemplate template)
resolveHtmlTemplate
protected org.antlr.stringtemplate.StringTemplate resolveHtmlTemplate()
throws IOException
- Throws:
IOException
includeJavaScriptDependencies
protected void includeJavaScriptDependencies(List<String> dependencies,
org.antlr.stringtemplate.StringTemplate template)
throws IOException
- Throws:
IOException
applyCssToTemplate
protected void applyCssToTemplate(List<String> styles,
org.antlr.stringtemplate.StringTemplate template)
throws IOException
- Throws:
IOException
getConfiguration
public HtmlGeneratorConfiguration getConfiguration()
getDefaultHtmlTemplatePath
protected abstract String getDefaultHtmlTemplatePath()
applyScriptTagsToTemplate
protected void applyScriptTagsToTemplate(String sourcesTemplateAttrName,
Set<String> scripts,
org.antlr.stringtemplate.StringTemplate template)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.