Class TranslationFormatterSpecTest

All Implemented Interfaces:
SpecExampleProcessor

public abstract class TranslationFormatterSpecTest extends FormatterTranslationSpecTestBase
  • Field Details

  • Constructor Details

    • TranslationFormatterSpecTest

      public TranslationFormatterSpecTest(@NotNull @NotNull SpecExample example, @Nullable @Nullable Map<String,? extends DataHolder> optionMap, @Nullable @Nullable DataHolder... defaultOptions)
  • Method Details

    • getParser

      private Parser getParser(@Nullable @Nullable DataHolder OPTIONS)
    • getRenderer

      private IRender getRenderer(@Nullable @Nullable DataHolder OPTIONS)
    • getSpecExampleRenderer

      @NotNull public final @NotNull SpecExampleRenderer getSpecExampleRenderer(@NotNull @NotNull SpecExample example, @Nullable @Nullable DataHolder exampleOptions)
      Description copied from interface: SpecExampleProcessor
      Get spec renderer for an example spec
      Parameters:
      example - spec example
      exampleOptions - example custom options
      Returns:
      spec renderer for given example and options
    • translate

      static CharSequence translate(CharSequence text)