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 SpecReader
SpecReader.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringBuilderprotected final StringBuilderprotected final StringBuilderprotected final SpecExampleProcessorFields inherited from class 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 voidaddSpecExample(@NotNull SpecExample specExample) voidaddSpecLine(String line, boolean isSpecExampleOpen) voidMethods inherited from class 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:
readExamplesin classSpecReader
-
addSpecLine
- Overrides:
addSpecLinein classSpecReader
-
addSpecExample
- Overrides:
addSpecExamplein classSpecReader
-