public abstract class ComboSpecTestCase extends FullSpecTestCase
| Modifier and Type | Field and Description |
|---|---|
protected SpecExample |
example |
static String |
SPEC_RESOURCE |
dumpSpecReaderEMBED_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 |
|---|
ComboSpecTestCase(SpecExample example) |
| Modifier and Type | Method and Description |
|---|---|
SpecReader |
create(InputStream inputStream) |
static List<Object[]> |
data() |
SpecExample |
example() |
protected void |
fullTestSpecComplete() |
protected boolean |
fullTestSpecStarting() |
abstract String |
getSpecResourceName() |
boolean |
includeExampleCoords() |
boolean |
outputActualFullSpec() |
protected String |
readResource(String resourcePath) |
protected String |
readStream(InputStream stream) |
void |
testFullSpec() |
void |
testHtmlRendering() |
addSpecExample, useActualHtmlactualAst, actualHtml, actualSource, adjustParserForInclusion, assertAst, assertRendering, assertRendering, assertRenderingAst, ast, getOptions, options, parser, renderer, specExample, stripIndent, testCasepublic static final String SPEC_RESOURCE
protected final SpecExample example
public ComboSpecTestCase(SpecExample example)
public abstract String getSpecResourceName()
getSpecResourceName in class FullSpecTestCasepublic SpecExample example()
example in class RenderingTestCasepublic SpecReader create(InputStream inputStream)
create in interface SpecReaderFactorycreate in class FullSpecTestCasepublic boolean outputActualFullSpec()
outputActualFullSpec in class FullSpecTestCasepublic boolean includeExampleCoords()
includeExampleCoords in class FullSpecTestCaseprotected String readStream(InputStream stream)
public void testHtmlRendering()
protected boolean fullTestSpecStarting()
protected void fullTestSpecComplete()
public void testFullSpec()
throws Exception
testFullSpec in class FullSpecTestCaseExceptionCopyright © 2019. All rights reserved.