Class FormatterSpecTest
java.lang.Object
com.vladsch.flexmark.test.util.RenderingTestCase
com.vladsch.flexmark.test.util.FullSpecTestCase
com.vladsch.flexmark.test.util.ComboSpecTestCase
com.vladsch.flexmark.core.test.util.FormatterTranslationSpecTestBase
com.vladsch.flexmark.core.test.util.FormatterSpecTest
- All Implemented Interfaces:
SpecExampleProcessor
-
Field Summary
Fields inherited from class FormatterTranslationSpecTestBase
EDIT_OP, EDIT_OP_CHAR, SHOW_LINE_RANGES, SKIP_IGNORED_TESTSFields inherited from class ComboSpecTestCase
CUSTOM_OPTION, example, myDefaultOptionsFields inherited from class RenderingTestCase
EMBED_TIMED, EXTENSIONS, FAIL, IGNORE, INCLUDED_DOCUMENT, LOAD_EXTENSIONS, NO_FILE_EOL, NO_FILE_EOL_FALSE, SOURCE_INDENT, SOURCE_PREFIX, SOURCE_SUFFIX, thrown, TIMED, TIMED_ITERATIONS, UNLOAD_EXTENSIONS -
Constructor Summary
ConstructorsConstructorDescriptionFormatterSpecTest(@NotNull SpecExample example, @Nullable Map<String, ? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions) -
Method Summary
Modifier and TypeMethodDescription@NotNull SpecExampleRenderergetSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder exampleOptions) Get spec renderer for an example specMethods inherited from class FormatterTranslationSpecTestBase
firstIndentOption, indentOption, marginOptionMethods inherited from class ComboSpecTestCase
aggregate, compoundSections, dataHolders, getSpecResourceLocation, getTestData, options, optionsMaps, placementAndSortOptions, placementAndSortOptions, testSpecExampleMethods inherited from class FullSpecTestCase
create, fullTestSpecComplete, fullTestSpecStartingMethods inherited from class RenderingTestCase
addFullSpecExample, addSpecExample, assertRendering, assertRendering, assertRenderingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SpecExampleProcessor
addFullSpecExample, checkExample
-
Constructor Details
-
FormatterSpecTest
public FormatterSpecTest(@NotNull @NotNull SpecExample example, @Nullable @Nullable Map<String, ? extends DataHolder> optionMap, @Nullable @Nullable DataHolder... defaultOptions)
-
-
Method Details
-
getSpecExampleRenderer
@NotNull public @NotNull SpecExampleRenderer getSpecExampleRenderer(@NotNull @NotNull SpecExample example, @Nullable @Nullable DataHolder exampleOptions) Description copied from interface:SpecExampleProcessorGet spec renderer for an example spec- Parameters:
example- spec exampleexampleOptions- example custom options- Returns:
- spec renderer for given example and options
-