public abstract class TestStep extends Object
Modifier and Type | Field and Description |
---|---|
protected cucumber.runtime.DefinitionMatch |
definitionMatch
Deprecated.
not part of the public api
|
Constructor and Description |
---|
TestStep(cucumber.runtime.DefinitionMatch definitionMatch)
Deprecated.
not part of the public api
|
Modifier and Type | Method and Description |
---|---|
protected Result.Type |
executeStep(String language,
Scenario scenario,
boolean skipSteps)
Deprecated.
|
String |
getCodeLocation() |
List<cucumber.runtime.Argument> |
getDefinitionArgument() |
abstract HookType |
getHookType() |
String |
getPattern() |
abstract gherkin.pickles.PickleStep |
getPickleStep() |
abstract List<gherkin.pickles.Argument> |
getStepArgument() |
abstract int |
getStepLine() |
abstract String |
getStepLocation() |
abstract String |
getStepText() |
abstract boolean |
isHook() |
protected Result.Type |
nonExceptionStatus(boolean skipSteps)
Deprecated.
|
Result |
run(EventBus bus,
String language,
Scenario scenario,
boolean skipSteps)
Deprecated.
not part of the public api
|
@Deprecated protected final cucumber.runtime.DefinitionMatch definitionMatch
@Deprecated public TestStep(cucumber.runtime.DefinitionMatch definitionMatch)
definitionMatch
- the matching step definitionpublic String getPattern()
public String getCodeLocation()
public List<cucumber.runtime.Argument> getDefinitionArgument()
public abstract boolean isHook()
public abstract gherkin.pickles.PickleStep getPickleStep()
public abstract String getStepText()
public abstract String getStepLocation()
public abstract int getStepLine()
public abstract List<gherkin.pickles.Argument> getStepArgument()
public abstract HookType getHookType()
@Deprecated public Result run(EventBus bus, String language, Scenario scenario, boolean skipSteps)
bus
- to which events should be broadcastlanguage
- in which the step is definedscenario
- of which this step is partskipSteps
- if this step should be skipped@Deprecated protected Result.Type nonExceptionStatus(boolean skipSteps)
@Deprecated protected Result.Type executeStep(String language, Scenario scenario, boolean skipSteps) throws Throwable
Throwable
Copyright © 2017. All Rights Reserved.