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(java.lang.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(java.lang.reflect.Method method, java.lang.String stepAsString, java.lang.String stepWithoutStartingWord, java.util.Map<java.lang.String,java.lang.String> namedParameters)protected ExpectedExceptiongetExpectedException(java.lang.reflect.Method method)Get the expected exception for a given method.org.jbehave.core.configuration.KeywordsgetKeywords()
-
-
-
Constructor Detail
-
ExtendedStepCreator
public ExtendedStepCreator(java.lang.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(java.lang.reflect.Method method, java.lang.String stepAsString, java.lang.String stepWithoutStartingWord, java.util.Map<java.lang.String,java.lang.String> namedParameters)- Overrides:
createParametrisedStepin classorg.jbehave.core.steps.StepCreator
-
getExpectedException
protected ExpectedException getExpectedException(java.lang.reflect.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()
-
-