Class ExtendedStepCreator

java.lang.Object
org.jbehave.core.steps.StepCreator
org.activiti.cloud.acc.shared.serenity.ExtendedStepCreator

public class ExtendedStepCreator extends org.jbehave.core.steps.StepCreator
Extended StepCreator that can create ExpectingExceptionParametrisedStep if ExpectingException is detected
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jbehave.core.steps.StepCreator

    org.jbehave.core.steps.StepCreator.AbstractStep, org.jbehave.core.steps.StepCreator.Comment, org.jbehave.core.steps.StepCreator.IgnorableStep, org.jbehave.core.steps.StepCreator.Jsr330Helper, org.jbehave.core.steps.StepCreator.ParameterNotFound, org.jbehave.core.steps.StepCreator.ParametrisedStep, org.jbehave.core.steps.StepCreator.PendingStep
  • Field Summary

    Fields inherited from class org.jbehave.core.steps.StepCreator

    NO_FAILURE, PARAMETER_TABLE_END, PARAMETER_TABLE_START, PARAMETER_VALUE_END, PARAMETER_VALUE_NEWLINE, PARAMETER_VALUE_START
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendedStepCreator(Class<?> stepsType, org.jbehave.core.steps.InjectableStepsFactory stepsFactory, org.jbehave.core.steps.context.StepsContext stepsContext, org.jbehave.core.steps.ParameterConverters parameterConverters, org.jbehave.core.steps.ParameterControls parameterControls, org.jbehave.core.parsers.StepMatcher stepMatcher, org.jbehave.core.steps.StepMonitor stepMonitor, org.jbehave.core.configuration.Keywords keywords)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jbehave.core.steps.Step
    createParametrisedStep(Method method, String stepAsString, String stepWithoutStartingWord, Map<String,String> namedParameters)
     
    Get the expected exception for a given method.
    org.jbehave.core.configuration.Keywords
     

    Methods inherited from class org.jbehave.core.steps.StepCreator

    createAfterStepUponOutcome, createBeforeOrAfterStep, createComment, createIgnorableStep, createParametrisedStepUponOutcome, createPendingStep, doDryRun, matchedParameters, stepsInstance, useParanamer, useStepMonitor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtendedStepCreator

      public ExtendedStepCreator(Class<?> stepsType, org.jbehave.core.steps.InjectableStepsFactory stepsFactory, org.jbehave.core.steps.context.StepsContext stepsContext, org.jbehave.core.steps.ParameterConverters parameterConverters, org.jbehave.core.steps.ParameterControls parameterControls, org.jbehave.core.parsers.StepMatcher stepMatcher, org.jbehave.core.steps.StepMonitor stepMonitor, org.jbehave.core.configuration.Keywords keywords)
  • Method Details

    • createParametrisedStep

      public org.jbehave.core.steps.Step createParametrisedStep(Method method, String stepAsString, String stepWithoutStartingWord, Map<String,String> namedParameters)
      Overrides:
      createParametrisedStep in class org.jbehave.core.steps.StepCreator
    • getExpectedException

      protected ExpectedException getExpectedException(Method method)
      Get the expected exception for a given method.
      Parameters:
      method - the method
      Returns:
      the expected exception
    • getKeywords

      public org.jbehave.core.configuration.Keywords getKeywords()