public static class PerformableTree.PerformableScenario extends Object implements PerformableTree.Performable
Constructor and Description |
---|
PerformableScenario(Scenario scenario,
String storyPath) |
Modifier and Type | Method and Description |
---|---|
void |
addExampleScenario(PerformableTree.ExamplePerformableScenario exampleScenario) |
void |
allowed(boolean allowed) |
List<PerformableTree.ExamplePerformableScenario> |
getExamples() |
Throwable |
getFailure() |
Scenario |
getScenario() |
PerformableTree.Status |
getStatus() |
String |
getStoryPath() |
Timing |
getTiming() |
boolean |
hasExamples() |
boolean |
hasNormalScenario() |
boolean |
isAllowed() |
boolean |
isPerformable() |
void |
perform(PerformableTree.RunContext context) |
void |
reportFailures(PerformableTree.FailureContext context) |
void |
useNormalScenario(PerformableTree.NormalPerformableScenario normalScenario) |
public void useNormalScenario(PerformableTree.NormalPerformableScenario normalScenario)
public void addExampleScenario(PerformableTree.ExamplePerformableScenario exampleScenario)
public void allowed(boolean allowed)
public boolean isAllowed()
public PerformableTree.Status getStatus()
public Timing getTiming()
public Scenario getScenario()
public String getStoryPath()
public Throwable getFailure()
public boolean hasNormalScenario()
public boolean hasExamples()
public boolean isPerformable()
public List<PerformableTree.ExamplePerformableScenario> getExamples()
public void perform(PerformableTree.RunContext context) throws InterruptedException
perform
in interface PerformableTree.Performable
InterruptedException
public void reportFailures(PerformableTree.FailureContext context)
reportFailures
in interface PerformableTree.Performable
Copyright © 2003–2021. All rights reserved.