org.specrunner.source.text
Class ScenarioOutline

java.lang.Object
  extended by org.specrunner.source.text.NamedSentences
      extended by org.specrunner.source.text.Scenario
          extended by org.specrunner.source.text.ScenarioOutline
All Implemented Interfaces:
IValidable

public class ScenarioOutline
extends Scenario

Stand for a scenario outline.

Author:
Thiago Santos

Field Summary
 
Fields inherited from class org.specrunner.source.text.NamedSentences
name, sentences
 
Constructor Summary
ScenarioOutline(String name)
          Create an outline with scenario.
 
Method Summary
 DataTable getTable()
          Get the examples.
 void setTable(DataTable table)
          Set the table.
 String validate()
          Perform object validation.
 
Methods inherited from class org.specrunner.source.text.Scenario
getParent, setParent
 
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
 

Constructor Detail

ScenarioOutline

public ScenarioOutline(String name)
Create an outline with scenario.

Parameters:
name - The name.
Method Detail

getTable

public DataTable getTable()
Get the examples.

Returns:
The examples data.

setTable

public void setTable(DataTable table)
Set the table.

Parameters:
table - The table.

validate

public String validate()
Description copied from interface: IValidable
Perform object validation.

Specified by:
validate in interface IValidable
Overrides:
validate in class Scenario
Returns:
The description of errors, if any, empty string otherwise.


Copyright © 2015. All rights reserved.