Top Fields Constructors Methods
com.vladsch.flexmark.test.util

public abstract Class ComboSpecTestCase

extends FullSpecTestCase
Class Inheritance
Annotations
@RunWith:Parameterized
Imports
com.vladsch.flexmark.test.util.spec.ResourceLocation, .SpecExample, com.vladsch.flexmark.util.ast.KeepType, com.vladsch.flexmark.util.data.DataHolder, .DataKey, .DataSet, .MutableDataSet, com.vladsch.flexmark.util.format.options.ElementPlacement, .ElementPlacementSort, org.jetbrains.annotations.NotNull, .Nullable, org.junit.Test, org.junit.runner.RunWith, org.junit.runners.Parameterized, java.util.HashMap, .List, .Map, java.util.function.BiFunction

Field Summary

Modifier and TypeField and Description
public static final DataKey<BiFunction<String, String, DataHolder>>
protected final @NotNull SpecExample
protected final @Nullable DataHolder
protected final @NotNull Map<String, DataHolder>

Constructor Summary

AccessConstructor and Description
public
ComboSpecTestCase(@NotNull SpecExample example, @Nullable Map<String, ? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)

Method Summary

Modifier and TypeMethod and Description
public static @NotNull DataHolder
protected boolean
public static @Nullable DataHolder[]
protected final @NotNull ResourceLocation
protected static @NotNull List<Object[]>
public @Nullable DataHolder
public static @Nullable Map<String, ? extends DataHolder>
optionsMaps(@Nullable Map<String, ? extends DataHolder> other, @Nullable Map<String, ? extends DataHolder> overrides)

public static @NotNull Map<String, DataHolder>
public static @NotNull Map<String, DataHolder>
public void
Inherited from com.vladsch.flexmark.test.util.FullSpecTestCase:
createfullTestSpecCompletefullTestSpecStarting

Field Detail

CUSTOM_OPTIONback to summary
public static final DataKey<BiFunction<String, String, DataHolder>> CUSTOM_OPTION
exampleback to summary
protected final @NotNull SpecExample example
Annotations
@NotNull
myDefaultOptionsback to summary
protected final @Nullable DataHolder myDefaultOptions
Annotations
@Nullable
optionsMapback to summary
protected final @NotNull Map<String, DataHolder> optionsMap
Annotations
@NotNull

Constructor Detail

ComboSpecTestCaseback to summary
public ComboSpecTestCase(@NotNull SpecExample example, @Nullable Map<String, ? extends DataHolder> optionMap, @Nullable DataHolder... defaultOptions)

Method Detail

aggregateback to summary
public static @NotNull DataHolder aggregate(@Nullable DataHolder other, @Nullable DataHolder overrides)
Annotations
@NotNull
compoundSectionsback to summary
protected boolean compoundSections()

Overrides com.vladsch.flexmark.test.util.FullSpecTestCase.compoundSections.

dataHoldersback to summary
public static @Nullable DataHolder[] dataHolders(@Nullable DataHolder other, @Nullable DataHolder[] overrides)
Annotations
@Nullable
getSpecResourceLocationback to summary
protected final @NotNull ResourceLocation getSpecResourceLocation()

Implements abstract com.vladsch.flexmark.test.util.FullSpecTestCase.getSpecResourceLocation.

Annotations
@Override
@NotNull
getTestDataback to summary
protected static @NotNull List<Object[]> getTestData(@NotNull ResourceLocation location)
Annotations
@NotNull
optionsback to summary
public @Nullable DataHolder options(@NotNull String option)
Annotations
@Nullable
@Override
optionsMapsback to summary
public static @Nullable Map<String, ? extends DataHolder> optionsMaps(@Nullable Map<String, ? extends DataHolder> other, @Nullable Map<String, ? extends DataHolder> overrides)
Annotations
@Nullable
placementAndSortOptionsback to summary
public static @NotNull Map<String, DataHolder> placementAndSortOptions(DataKey<ElementPlacement> placementDataKey, DataKey<ElementPlacementSort> sortDataKey)
Annotations
@NotNull
placementAndSortOptionsback to summary
public static @NotNull Map<String, DataHolder> placementAndSortOptions(@Nullable DataKey<KeepType> keepTypeDataKey, @Nullable DataKey<ElementPlacement> placementDataKey, @Nullable DataKey<ElementPlacementSort> sortDataKey)
Annotations
@NotNull
testSpecExampleback to summary
public void testSpecExample()

Overrides com.vladsch.flexmark.test.util.FullSpecTestCase.testSpecExample.

Annotations
@Test