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
ConstructorsConstructorDescriptionExtendedStepCreator(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 TypeMethodDescriptionorg.jbehave.core.steps.StepcreateParametrisedStep(Method method, String stepAsString, String stepWithoutStartingWord, Map<String, String> namedParameters) protected ExpectedExceptiongetExpectedException(Method method) Get the expected exception for a given method.org.jbehave.core.configuration.KeywordsMethods inherited from class org.jbehave.core.steps.StepCreator
createAfterStepUponOutcome, createBeforeOrAfterStep, createComment, createIgnorableStep, createParametrisedStepUponOutcome, createPendingStep, doDryRun, matchedParameters, stepsInstance, useParanamer, useStepMonitor
-
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:
createParametrisedStepin classorg.jbehave.core.steps.StepCreator
-
getExpectedException
Get the expected exception for a given method.- Parameters:
method- the method- Returns:
- the expected exception
-
getKeywords
public org.jbehave.core.configuration.Keywords getKeywords()
-