| Modifier and Type | Method and Description |
|---|---|
| public void | addFullSpecExample(@NotNull SpecExampleRenderer
example renderer exampleRenderer, @NotNull SpecExampleParse example parse state exampleParse, @Nullable DataHolder example options exampleOptions, boolean true if ignored example ignoredTestCase, @NotNull String html used for comparison to expected html html, @Nullable String ast used for comparison to expected ast ast)Called by DumpSpecReader for each example when processing full test spec |
| public default @NotNull SpecExample | Returns: modified example if neededexample as it is in the test or spec file example)Allows tests to modify example during reading (DumpSpecReader) |
| public @NotNull SpecExampleRenderer | Returns: spec renderer for given example and optionsspec example example, @Nullable DataHolder example custom options exampleOptions)Get spec renderer for an example spec |
| public @Nullable DataHolder |
| addFullSpecExample | back to summary |
|---|---|
| public void addFullSpecExample(@NotNull SpecExampleRenderer exampleRenderer, @NotNull SpecExampleParse exampleParse, @Nullable DataHolder exampleOptions, boolean ignoredTestCase, @NotNull String html, @Nullable String ast) Called by DumpSpecReader for each example when processing full test spec
| |
| checkExample | back to summary |
|---|---|
| public default @NotNull SpecExample checkExample(@NotNull SpecExample example) Allows tests to modify example during reading (DumpSpecReader)
| |
| getSpecExampleRenderer | back to summary |
|---|---|
| public @NotNull SpecExampleRenderer getSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder exampleOptions) Get spec renderer for an example spec
| |
| options | back to summary |
|---|---|
| public @Nullable DataHolder options(@NotNull String option) Customize options for an example
| |