|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.specrunner.source.text.NamedSentences
org.specrunner.source.text.Scenario
public class Scenario
Stand for a scenario.
| Field Summary | |
|---|---|
protected Feature |
parent
The parent feature. |
| Fields inherited from class org.specrunner.source.text.NamedSentences |
|---|
name, sentences |
| Constructor Summary | |
|---|---|
Scenario(String name)
Create a scenario with a name. |
|
| Method Summary | |
|---|---|
Feature |
getParent()
Get the feature parent. |
void |
setParent(Feature parent)
Set the parent. |
String |
validate()
Perform object validation. |
| Methods inherited from class org.specrunner.source.text.NamedSentences |
|---|
addSentence, getName, getSentences, setName, setSentences |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Feature parent
| Constructor Detail |
|---|
public Scenario(String name)
name - A name.| Method Detail |
|---|
public Feature getParent()
public void setParent(Feature parent)
parent - The scenario parent.public String validate()
IValidable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||