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.StepCreatorExtended 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
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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.KeywordsgetKeywords()
-
-
-
Constructor Detail
-
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 Detail
-
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
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()
-
-