Package com.vladsch.flexmark.test.util
Class TemplateTestCase
java.lang.Object
com.vladsch.flexmark.test.util.TemplateTestCase
- All Implemented Interfaces:
TemplateReaderFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(InputStream inputStream) abstract void
getExpandedEntry
(TemplateEntry entry, StringBuilder sb) protected abstract String
protected boolean
protected void
processTemplate
(String template, String expandedTemplate) void
-
Field Details
-
SPEC_RESOURCE
- See Also:
-
dumpTemplateReader
-
-
Constructor Details
-
TemplateTestCase
public TemplateTestCase()
-
-
Method Details
-
create
- Specified by:
create
in interfaceTemplateReaderFactory
-
getExpandedEntry
-
processTemplate
-
getTemplateResourceName
- Returns:
- return resource name for the spec to use for the examples of the test
-
outputTemplate
protected boolean outputTemplate()- Returns:
- return true if template to be dumped to stdout
-
testDumpSpec
- Throws:
Exception
-