public abstract class FileSpecTestCase extends RenderingTestCase
| Modifier and Type | Field and Description |
|---|---|
protected SpecExample |
example |
EMBED_TIMED, EMBED_TIMED_OPTION_NAME, FAIL, FAIL_OPTION_NAME, FILE_EOL_OPTION_NAME, IGNORE, IGNORE_OPTION_NAME, INCLUDED_DOCUMENT, NO_FILE_EOL, NO_FILE_EOL_OPTION_NAME, SOURCE_INDENT, SOURCE_PREFIX, SOURCE_SUFFIX, thrown, TIMED, TIMED_FORMAT_STRING, TIMED_ITERATIONS, TIMED_ITERATIONS_NAME, TIMED_OPTION_NAME| Constructor and Description |
|---|
FileSpecTestCase(SpecExample example) |
| Modifier and Type | Method and Description |
|---|---|
static List<Object[]> |
data() |
static List<Object[]> |
dataFromFiles(String[] fileNames,
String prefix) |
static List<Object[]> |
dataFromSeparateFiles(String[] fileNames,
String prefix,
boolean dumpHtml,
boolean dumpAst) |
protected abstract String |
dumpDir() |
protected abstract String |
dumpHeader() |
SpecExample |
example() |
protected static String |
readResource(String resourcePath) |
protected static String |
readStream(InputStream stream) |
protected void |
specExample(String expected,
String actual,
String optionSet) |
void |
testHtmlRendering() |
actualAst, actualHtml, actualSource, adjustParserForInclusion, assertAst, assertRendering, assertRendering, assertRendering, assertRenderingAst, ast, getOptions, options, parser, renderer, stripIndent, testCase, useActualHtmlprotected final SpecExample example
public FileSpecTestCase(SpecExample example)
public SpecExample example()
example in class RenderingTestCaseprotected abstract String dumpDir()
protected abstract String dumpHeader()
protected void specExample(String expected, String actual, String optionSet)
specExample in class RenderingTestCasepublic static List<Object[]> dataFromSeparateFiles(String[] fileNames, String prefix, boolean dumpHtml, boolean dumpAst)
protected static String readStream(InputStream stream)
public void testHtmlRendering()
Copyright © 2019. All rights reserved.