public class Scenario extends NamedSentences
| Modifier and Type | Field and Description |
|---|---|
protected Feature |
parent
The parent feature.
|
name, sentences| Constructor and Description |
|---|
Scenario(String name)
Create a scenario with a name.
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
getParent()
Get the feature parent.
|
void |
setParent(Feature parent)
Set the parent.
|
String |
validate()
Perform object validation.
|
addSentence, getName, getSentences, setName, setSentencesprotected Feature parent
public Scenario(String name)
name - A name.public Feature getParent()
public void setParent(Feature parent)
parent - The scenario parent.public String validate()
IValidableCopyright © 2017. All rights reserved.