public abstract class TestStep
extends java.lang.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(java.lang.String language,
Scenario scenario,
boolean skipSteps)
Deprecated.
|
java.lang.String |
getCodeLocation() |
java.util.List<cucumber.runtime.Argument> |
getDefinitionArgument() |
abstract HookType |
getHookType() |
java.lang.String |
getPattern() |
abstract gherkin.pickles.PickleStep |
getPickleStep() |
abstract java.util.List<gherkin.pickles.Argument> |
getStepArgument() |
abstract int |
getStepLine() |
abstract java.lang.String |
getStepLocation() |
abstract java.lang.String |
getStepText() |
abstract boolean |
isHook() |
protected Result.Type |
nonExceptionStatus(boolean skipSteps)
Deprecated.
|
Result |
run(EventBus bus,
java.lang.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 java.lang.String getPattern()
public java.lang.String getCodeLocation()
public java.util.List<cucumber.runtime.Argument> getDefinitionArgument()
public abstract boolean isHook()
public abstract gherkin.pickles.PickleStep getPickleStep()
public abstract java.lang.String getStepText()
public abstract java.lang.String getStepLocation()
public abstract int getStepLine()
public abstract java.util.List<gherkin.pickles.Argument> getStepArgument()
public abstract HookType getHookType()
@Deprecated public Result run(EventBus bus, java.lang.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(java.lang.String language, Scenario scenario, boolean skipSteps) throws java.lang.Throwable
java.lang.Throwable
Copyright © 2017. All Rights Reserved.