Uses of Class
com.vladsch.flexmark.test.util.spec.SpecExample
-
Packages that use SpecExample Package Description com.vladsch.flexmark.core.test.util com.vladsch.flexmark.test.util com.vladsch.flexmark.test.util.spec -
-
Uses of SpecExample in com.vladsch.flexmark.core.test.util
Methods in com.vladsch.flexmark.core.test.util with parameters of type SpecExample Modifier and Type Method Description @NotNull SpecExampleRenderer
FormatterSpecTest. getSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder exampleOptions)
@NotNull SpecExampleRenderer
RendererSpecTest. getSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder exampleOptions)
@NotNull SpecExampleRenderer
TranslationFormatterSpecTest. getSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder exampleOptions)
Constructors in com.vladsch.flexmark.core.test.util with parameters of type SpecExample Constructor Description FormatterSpecTest(@NotNull SpecExample example, @Nullable java.util.Map<java.lang.String,? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)
FormatterTranslationSpecTestBase(@NotNull SpecExample example, @Nullable java.util.Map<java.lang.String,? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)
RendererSpecTest(@NotNull SpecExample example, @Nullable java.util.Map<java.lang.String,? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)
TranslationFormatterSpecTest(@NotNull SpecExample example, @Nullable java.util.Map<java.lang.String,? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)
-
Uses of SpecExample in com.vladsch.flexmark.test.util
Fields in com.vladsch.flexmark.test.util declared as SpecExample Modifier and Type Field Description protected @NotNull SpecExample
ComboSpecTestCase. example
protected @NotNull SpecExample
SpecExampleRendererBase. myExample
Methods in com.vladsch.flexmark.test.util that return SpecExample Modifier and Type Method Description default @NotNull SpecExample
SpecExampleProcessor. checkExample(@NotNull SpecExample example)
Allows tests to modify example during reading (DumpSpecReader)@NotNull SpecExample
SpecExampleRenderer. getExample()
@NotNull SpecExample
SpecExampleRendererBase. getExample()
Methods in com.vladsch.flexmark.test.util with parameters of type SpecExample Modifier and Type Method Description protected void
DumpSpecReader. addSpecExample(@NotNull SpecExample specExample)
protected void
RenderingTestCase. assertRendering(@NotNull SpecExample specExample)
default @NotNull SpecExample
SpecExampleProcessor. checkExample(@NotNull SpecExample example)
Allows tests to modify example during reading (DumpSpecReader)static DataHolder
TestUtils. getOptions(@NotNull SpecExample example, @Nullable java.lang.String optionSets, @NotNull java.util.function.Function<java.lang.String,DataHolder> optionsProvider)
process comma separated list of option sets and combine them for final set to use@NotNull SpecExampleRenderer
SpecExampleProcessor. getSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder exampleOptions)
Get spec renderer for an example specstatic void
TestUtils. throwIgnoredOption(@NotNull SpecExample example, @NotNull java.lang.String optionSets, @NotNull java.lang.String option)
static void
TestUtils. throwIllegalStateException(@NotNull SpecExample example, @NotNull java.lang.String option)
Constructors in com.vladsch.flexmark.test.util with parameters of type SpecExample Constructor Description ComboSpecTestCase(@NotNull SpecExample example, @Nullable java.util.Map<java.lang.String,? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)
FlexmarkSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder options, @NotNull IParse parser, @NotNull IRender render)
FlexmarkSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder options, @NotNull IParse parser, @NotNull IRender render, boolean includeExampleCoord)
SpecExampleRendererBase(@NotNull SpecExample example, @Nullable DataHolder options)
SpecExampleRendererBase(@NotNull SpecExample example, @Nullable DataHolder options, boolean includeExampleInfo)
-
Uses of SpecExample in com.vladsch.flexmark.test.util.spec
Fields in com.vladsch.flexmark.test.util.spec declared as SpecExample Modifier and Type Field Description static SpecExample
SpecExample. NULL
Fields in com.vladsch.flexmark.test.util.spec with type parameters of type SpecExample Modifier and Type Field Description protected java.util.List<SpecExample>
SpecReader. examples
Methods in com.vladsch.flexmark.test.util.spec that return SpecExample Modifier and Type Method Description static @NotNull SpecExample
SpecExample. ofCaller(int callNesting, java.lang.Class<?> resourceClass, @NotNull java.lang.String source, @NotNull java.lang.String html, @Nullable java.lang.String ast)
SpecExample
SpecExample. withAst(@Nullable java.lang.String ast)
SpecExample
SpecExample. withExampleNumber(int exampleNumber)
SpecExample
SpecExample. withHtml(@NotNull java.lang.String html)
SpecExample
SpecExample. withOptionsSet(@Nullable java.lang.String optionsSet)
SpecExample
SpecExample. withResourceLocation(@NotNull ResourceLocation location)
SpecExample
SpecExample. withSection(@Nullable java.lang.String section)
SpecExample
SpecExample. withSource(@NotNull java.lang.String source)
Methods in com.vladsch.flexmark.test.util.spec that return types with arguments of type SpecExample Modifier and Type Method Description @NotNull java.util.List<SpecExample>
SpecReader. getExamples()
Methods in com.vladsch.flexmark.test.util.spec with parameters of type SpecExample Modifier and Type Method Description protected void
SpecReader. addSpecExample(@NotNull SpecExample example)
-