Package com.vladsch.flexmark.test.util
Class DumpSpecReader
java.lang.Object
com.vladsch.flexmark.test.util.spec.SpecReader
com.vladsch.flexmark.test.util.DumpSpecReader
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vladsch.flexmark.test.util.spec.SpecReader
SpecReader.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringBuilder
protected final StringBuilder
protected final StringBuilder
protected final SpecExampleProcessor
Fields inherited from class com.vladsch.flexmark.test.util.spec.SpecReader
ast, comment, commentLineNumber, compoundSections, contentLineNumber, EXAMPLE_BREAK, EXAMPLE_KEYWORD, EXAMPLE_START, EXAMPLE_START_NBSP, EXAMPLE_TEST_BREAK, EXAMPLE_TEST_START, exampleNumber, examples, html, inputStream, lastSectionLevel, lineNumber, OPTIONS_KEYWORD, OPTIONS_PATTERN, OPTIONS_STRING, optionsSet, resourceLocation, section, SECTION_BREAK, SECTION_PATTERN, SECTION_TEST_BREAK, sections, source, state
-
Constructor Summary
ConstructorsConstructorDescriptionDumpSpecReader
(@NotNull InputStream stream, @NotNull SpecExampleProcessor testCase, @NotNull ResourceLocation location, boolean compoundSections) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSpecExample
(@NotNull SpecExample specExample) void
addSpecLine
(String line, boolean isSpecExampleOpen) void
Methods inherited from class com.vladsch.flexmark.test.util.spec.SpecReader
create, create, createAndReadExamples, createAndReadExamples, getExamples, getExamplesSourceAsString, getFileUrl, getResourceLocation, processLine, resetContents
-
Field Details
-
sb
-
sbExp
-
testCase
-
exampleComment
-
-
Constructor Details
-
DumpSpecReader
public DumpSpecReader(@NotNull @NotNull InputStream stream, @NotNull @NotNull SpecExampleProcessor testCase, @NotNull @NotNull ResourceLocation location, boolean compoundSections)
-
-
Method Details
-
getFullSpec
-
getExpectedFullSpec
-
readExamples
public void readExamples()- Overrides:
readExamples
in classSpecReader
-
addSpecLine
- Overrides:
addSpecLine
in classSpecReader
-
addSpecExample
- Overrides:
addSpecExample
in classSpecReader
-