Class PickleRunners.WithStepDescriptions

java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<Step>
io.cucumber.junit.PickleRunners.WithStepDescriptions
All Implemented Interfaces:
PickleRunners.PickleRunner, org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable
Enclosing class:
PickleRunners

static class PickleRunners.WithStepDescriptions extends org.junit.runners.ParentRunner<Step> implements PickleRunners.PickleRunner
  • Field Details

    • context

      private final CucumberExecutionContext context
    • pickle

      private final Pickle pickle
    • jUnitOptions

      private final JUnitOptions jUnitOptions
    • stepDescriptions

      private final Map<Step,org.junit.runner.Description> stepDescriptions
    • uniqueSuffix

      private final @Nullable Integer uniqueSuffix
    • description

      private @Nullable org.junit.runner.Description description
  • Constructor Details

    • WithStepDescriptions

      WithStepDescriptions(CucumberExecutionContext context, Pickle pickle, @Nullable Integer uniqueSuffix, JUnitOptions jUnitOptions) throws org.junit.runners.model.InitializationError
      Throws:
      org.junit.runners.model.InitializationError
  • Method Details

    • getChildren

      protected List<Step> getChildren()
      Specified by:
      getChildren in class org.junit.runners.ParentRunner<Step>
    • getName

      protected String getName()
      Overrides:
      getName in class org.junit.runners.ParentRunner<Step>
    • getDescription

      public org.junit.runner.Description getDescription()
      Specified by:
      getDescription in interface org.junit.runner.Describable
      Specified by:
      getDescription in interface PickleRunners.PickleRunner
      Overrides:
      getDescription in class org.junit.runners.ParentRunner<Step>
    • describeChild

      public org.junit.runner.Description describeChild(Step step)
      Specified by:
      describeChild in interface PickleRunners.PickleRunner
      Specified by:
      describeChild in class org.junit.runners.ParentRunner<Step>
    • run

      public void run(org.junit.runner.notification.RunNotifier notifier)
      Specified by:
      run in interface PickleRunners.PickleRunner
      Overrides:
      run in class org.junit.runners.ParentRunner<Step>
    • runChild

      protected void runChild(Step step, org.junit.runner.notification.RunNotifier notifier)
      Specified by:
      runChild in class org.junit.runners.ParentRunner<Step>