Top Fields Constructors Methods
com.vladsch.flexmark.test.util

public abstract Class TemplateTestCase

extends Object
implements TemplateReaderFactory
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.test.util.spec.TemplateReaderFactory
Imports
com.vladsch.flexmark.test.util.spec.TemplateEntry, .TemplateReader, .TemplateReaderFactory, org.junit.Test, java.io.InputStream

Field Summary

Modifier and TypeField and Description
private DumpTemplateReader
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TemplateReader
public abstract void
protected abstract String

Returns:

return resource name for the spec to use for the examples of the test
getTemplateResourceName
()

protected boolean

Returns:

return true if template to be dumped to stdout
outputTemplate
()

protected void
processTemplate(String template, String expandedTemplate)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dumpTemplateReaderback to summary
private DumpTemplateReader dumpTemplateReader
SPEC_RESOURCEback to summary
public static final String SPEC_RESOURCE

Constructor Detail

TemplateTestCaseback to summary
public TemplateTestCase()

Method Detail

createback to summary
public TemplateReader create(InputStream inputStream)

Implements com.vladsch.flexmark.test.util.spec.TemplateReaderFactory.create.

Annotations
@Override
getExpandedEntryback to summary
public abstract void getExpandedEntry(TemplateEntry entry, StringBuilder sb)
getTemplateResourceNameback to summary
protected abstract String getTemplateResourceName()
Returns:String

return resource name for the spec to use for the examples of the test

outputTemplateback to summary
protected boolean outputTemplate()
Returns:boolean

return true if template to be dumped to stdout

processTemplateback to summary
protected void processTemplate(String template, String expandedTemplate)
testDumpSpecback to summary
public void testDumpSpec() throws Exception
Annotations
@Test