| Package | Description |
|---|---|
| com.vladsch.flexmark.test.util | |
| com.vladsch.flexmark.test.util.spec |
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull SpecExample |
ComboSpecTestCase.example |
protected @NotNull SpecExample |
SpecExampleRendererBase.myExample |
| Modifier and Type | Method and Description |
|---|---|
default @NotNull SpecExample |
SpecExampleProcessor.checkExample(@NotNull SpecExample example)
Allows tests to modify example during reading (DumpSpecReader)
|
@NotNull SpecExample |
SpecExampleRendererBase.getExample() |
@NotNull SpecExample |
SpecExampleRenderer.getExample() |
| Modifier and Type | Method and 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 com.vladsch.flexmark.util.data.DataHolder |
TestUtils.getOptions(@NotNull SpecExample example,
@Nullable String optionSets,
@NotNull Function<String,com.vladsch.flexmark.util.data.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 com.vladsch.flexmark.util.data.DataHolder exampleOptions)
Get spec renderer for an example spec
|
static void |
TestUtils.throwIgnoredOption(@NotNull SpecExample example,
@NotNull String optionSets,
@NotNull String option) |
static void |
TestUtils.throwIllegalStateException(@NotNull SpecExample example,
@NotNull String option) |
| Constructor and Description |
|---|
ComboSpecTestCase(@NotNull SpecExample example,
@Nullable Map<String,? extends com.vladsch.flexmark.util.data.DataHolder> optionMap,
com.vladsch.flexmark.util.data.DataHolder... defaultOptions) |
FlexmarkSpecExampleRenderer(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
@NotNull com.vladsch.flexmark.util.ast.IParse parser,
@NotNull com.vladsch.flexmark.util.ast.IRender render) |
FlexmarkSpecExampleRenderer(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
@NotNull com.vladsch.flexmark.util.ast.IParse parser,
@NotNull com.vladsch.flexmark.util.ast.IRender render,
boolean includeExampleCoord) |
SpecExampleRendererBase(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options) |
SpecExampleRendererBase(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
boolean includeExampleInfo) |
| Modifier and Type | Field and Description |
|---|---|
static SpecExample |
SpecExample.NULL |
| Modifier and Type | Field and Description |
|---|---|
protected List<SpecExample> |
SpecReader.examples |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull SpecExample |
SpecExample.ofCaller(int callNesting,
Class<?> resourceClass,
@NotNull String source,
@NotNull String html,
@Nullable String ast) |
SpecExample |
SpecExample.withAst(@Nullable String ast) |
SpecExample |
SpecExample.withExampleNumber(int exampleNumber) |
SpecExample |
SpecExample.withHtml(@NotNull String html) |
SpecExample |
SpecExample.withOptionsSet(@Nullable String optionsSet) |
SpecExample |
SpecExample.withResourceLocation(@NotNull ResourceLocation location) |
SpecExample |
SpecExample.withSection(@Nullable String section) |
SpecExample |
SpecExample.withSource(@NotNull String source) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SpecReader.addSpecExample(@NotNull SpecExample example) |
Copyright © 2020. All rights reserved.