org.specrunner.source.text
Class ScenarioOutline
java.lang.Object
org.specrunner.source.text.NamedSentences
org.specrunner.source.text.Scenario
org.specrunner.source.text.ScenarioOutline
- All Implemented Interfaces:
- IValidable
public class ScenarioOutline
- extends Scenario
Stand for a scenario outline.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScenarioOutline
public ScenarioOutline(String name)
- Create an outline with scenario.
- Parameters:
name - The name.
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.