| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final String | |
| public static final @NotNull CharPredicate | |
| public static final DataKey | |
| public static final String | |
| public static final char | |
| public static final DataKey | |
| public static final String | |
| public static final int[] | |
| private static final DataHolder | |
| public static final DataKey | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final DataKey | |
| public static final String | |
| public static final DataKey | |
| public static final DataKey | |
| public static final String | |
| public static final char | |
| public static final @NotNull CharPredicate | |
| public static final String | |
| public static final char | |
| public static final String | |
| public static final char | |
| public static final DataKey | |
| public static final DataHolder | |
| public static final String | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final String | |
| public static final DataKey | |
| public static final String | |
| public static final String | |
| public static final DataKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> MutableDataSet | |
| public static String | addSpecExample(boolean includeExampleStart, String source, String html, String ast, String optionsSet)
|
| public static void | addSpecExample(boolean includeExampleStart, StringBuilder sb, String source, String html, String ast, String optionsSet, boolean includeExampleCoords, String section, int number)
|
| public static void | addSpecExample(boolean includeExampleStart, boolean toVisibleSpecText, StringBuilder sb, String source, String html, String ast, String optionsSet, boolean includeExampleCoords, String section, int number)
|
| public static void | addSpecExample(boolean useTestExample, boolean includeExampleStart, boolean toVisibleSpecText, StringBuilder sb, String source, String html, String ast, String optionsSet, boolean includeExampleCoords, String section, int number)
|
| public static void | addSpecExample(CharSequence exampleBreak, CharSequence sectionBreak, boolean includeExampleStart, boolean toVisibleSpecText, Appendable out, CharSequence source, CharSequence html, CharSequence ast, CharSequence optionsSet, boolean includeExampleCoords, CharSequence section, int number)
|
| public static void | addSpecExample(CharSequence exampleBreakOpen, CharSequence htmlBreak, CharSequence astBreak, CharSequence exampleBreakClose, boolean includeExampleStart, boolean toVisibleSpecText, Appendable out, CharSequence source, CharSequence html, CharSequence ast, CharSequence optionsSet, boolean includeExampleCoords, CharSequence section, CharSequence number, CharSequence exampleKeyword, CharSequence optionsKeyword)
|
| public static @NotNull Pair | |
| public static String | |
| public static void | |
| public static void | |
| public static void | |
| public static @NotNull String | |
| public static @NotNull String | |
| public static <T> @NotNull HashMap | |
| public static < type of value in the map T> @NotNull HashMap | Returns: constructed hash map of option nameif true, throws IllegalStateException if some built-in options are missing ensureAllBuiltInPresent, @NotNull Object[][] array of object arrays, each row represents option values
with first element ([0]) of each row being an option string.
Each row is passed to factory to allow creating custom options. options, @NotNull BiFunction<ExampleOption, Object[], T> factory creating a type from ExampleOption and given row of parameters factory)Build options map, optionally ensuring all built-ins are present |
| public static @Nullable DataHolder | |
| public static DataHolder | customIntOption(@NotNull String option, @Nullable String params, @NotNull Function<Integer, DataHolder> resolver)
|
| public static DataHolder | customStringOption(@NotNull String option, @Nullable String params, @NotNull Function<String, DataHolder> resolver)
|
| public static @Nullable DataHolder[] | |
| public static Pair | |
| public static String | Returns: spec test special visible chars converted to normaltext to convert to from visible chars to normal s)
|
| public static CharSequence | Returns: spec test special visible chars converted to normaltext to convert to from visible chars to normal s)
|
| public static @NotNull String | |
| public static @NotNull String | |
| public static String | |
| public static String | getFormattedTimingInfo(String section, int exampleNumber, int iterations, long start, long parse, long render)
|
| public static DataHolder | Returns: combined set from applying these options togetherspec example instance for which options are being processed example, @Nullable String comma separate list of option set names optionSets, @NotNull Function<String, DataHolder> function to take a string option name and provide settings based on it optionsProvider)process comma separated list of option sets and combine them for final set to use |
| public static @NotNull String | |
| public static @NotNull String | |
| public static @NotNull String | |
| public static ArrayList | |
| public static @NotNull String | getTestResourceRootDirectoryForModule(@NotNull Class<?> resourceClass, @NotNull String moduleRootPackage)
|
| public static @NotNull String | |
| public static SequenceBuilder | |
| public static @Nullable Map | optionsMaps(@Nullable Map<String, ? extends DataHolder> other, @Nullable Map<String, ? extends DataHolder> overrides)
|
| public static DataHolder | |
| public static String | Returns: spec test special chars converted to visibletext to convert to visible chars s)
Deprecated
use
toVisibleSpecText(String)
|
| public static BasedSequence | |
| public static void | throwIgnoredOption(@NotNull SpecExample example, @NotNull String optionSets, @NotNull String option)
|
| public static void | |
| public static String | Returns: spec test special chars converted to visibletext to convert to visible chars s)
|
| public static CharSequence | Returns: spec test special chars converted to visibletext to convert to visible chars s)
|
| public static String | |
| public static String | Returns: spec test special visible chars converted to normaltext to convert to from visible chars to normal s)
Deprecated
use
fromVisibleSpecText(String)
|