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

public Class DumpSpecReader

extends SpecReader
Class Inheritance
Imports
com.vladsch.flexmark.test.util.spec.ResourceLocation, .SpecExample, .SpecReader, com.vladsch.flexmark.util.data.DataHolder, org.jetbrains.annotations.NotNull, org.junit.AssumptionViolatedException, java.io.InputStream

Field Summary

Modifier and TypeField and Description
protected StringBuilder
protected final StringBuilder
protected final StringBuilder
protected final SpecExampleProcessor
Inherited from com.vladsch.flexmark.test.util.spec.SpecReader:
astcommentcommentLineNumbercompoundSectionscontentLineNumberEXAMPLE_BREAKEXAMPLE_KEYWORDEXAMPLE_STARTEXAMPLE_START_NBSPEXAMPLE_TEST_BREAKEXAMPLE_TEST_STARTexampleNumberexampleshtmlinputStreamlastSectionLevellineNumberOPTIONS_KEYWORDOPTIONS_PATTERNOPTIONS_STRINGoptionsSetresourceLocationsectionSECTION_BREAKSECTION_PATTERNSECTION_TEST_BREAKsectionssourcestate

Constructor Summary

AccessConstructor and Description
public
DumpSpecReader(@NotNull InputStream stream, @NotNull SpecExampleProcessor testCase, @NotNull ResourceLocation location, boolean compoundSections)

Method Summary

Modifier and TypeMethod and Description
protected void
public void
public String
public String
public void
Inherited from com.vladsch.flexmark.test.util.spec.SpecReader:
addSpecExamplecreatecreatecreateAndReadExamplescreateAndReadExamplesgetExamplesgetExamplesSourceAsStringgetFileUrlgetResourceLocationprocessLineresetContents

Field Detail

exampleCommentback to summary
protected StringBuilder exampleComment
sbback to summary
protected final StringBuilder sb
sbExpback to summary
protected final StringBuilder sbExp
testCaseback to summary
protected final SpecExampleProcessor testCase

Constructor Detail

DumpSpecReaderback to summary
public DumpSpecReader(@NotNull InputStream stream, @NotNull SpecExampleProcessor testCase, @NotNull ResourceLocation location, boolean compoundSections)

Method Detail

addSpecExampleback to summary
protected void addSpecExample(@NotNull SpecExample specExample)
Annotations
@Override
addSpecLineback to summary
public void addSpecLine(String line, boolean isSpecExampleOpen)

Overrides com.vladsch.flexmark.test.util.spec.SpecReader.addSpecLine.

Annotations
@Override
getExpectedFullSpecback to summary
public String getExpectedFullSpec()
getFullSpecback to summary
public String getFullSpec()
readExamplesback to summary
public void readExamples()

Overrides com.vladsch.flexmark.test.util.spec.SpecReader.readExamples.