Package io.cucumber.core.runner
Class PickleStepDefinitionMatch
java.lang.Object
io.cucumber.core.runner.Match
io.cucumber.core.runner.PickleStepDefinitionMatch
- All Implemented Interfaces:
StepDefinitionMatch
- Direct Known Subclasses:
AmbiguousPickleStepDefinitionsMatch,UndefinedPickleStepDefinitionMatch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stepprivate final StepDefinitionprivate final URI -
Constructor Summary
ConstructorsConstructorDescriptionPickleStepDefinitionMatch(List<Argument> arguments, StepDefinition stepDefinition, URI uri, Step step) -
Method Summary
Modifier and TypeMethodDescriptionprivate CucumberExceptionarityMismatch(int parameterCount) private @Nullable CucumberInvocationTargetExceptionprivate CucumberExceptionprivate CucumberExceptionprivate ThrowablecouldNotInvokeStep(CucumberBackendException e, List<@Nullable Object> result) private StringcreateArgumentTypes(List<@Nullable Object> result) voiddryRunStep(TestCaseState state) private StringformatArguments(List<String> arguments) (package private) StepDefinitionprivate StackTraceElementprivate CucumberExceptionvoidrunStep(TestCaseState state) Methods inherited from class io.cucumber.core.runner.Match
getArguments, getLocation
-
Field Details
-
stepDefinition
-
uri
-
step
-
-
Constructor Details
-
PickleStepDefinitionMatch
PickleStepDefinitionMatch(List<Argument> arguments, StepDefinition stepDefinition, URI uri, Step step)
-
-
Method Details
-
runStep
- Specified by:
runStepin interfaceStepDefinitionMatch- Throws:
Throwable
-
dryRunStep
- Specified by:
dryRunStepin interfaceStepDefinitionMatch- Throws:
Throwable
-
getCodeLocation
- Specified by:
getCodeLocationin interfaceStepDefinitionMatch
-
arityMismatch
-
registerDataTableTypeInConfiguration
-
causedByCucumberInvocationTargetException
private @Nullable CucumberInvocationTargetException causedByCucumberInvocationTargetException(RuntimeException e) -
couldNotConvertArguments
-
couldNotInvokeArgumentConversion
-
couldNotInvokeStep
-
getStepLocation
-
createArgumentsForErrorMessage
-
formatArguments
-
createArgumentTypes
-
getPattern
-
getStepDefinition
StepDefinition getStepDefinition()
-