|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReportModelHandler
Method Summary | |
---|---|
void |
caseHeader(int caseNr,
java.util.List<java.lang.String> parameterNames,
java.util.List<java.lang.String> caseArguments)
Is invoked when a scenario has multiple cases, but no data table. |
void |
className(java.lang.String className)
|
void |
dataTable(AbstractReportModelHandler.ScenarioDataTable scenarioDataTable)
Is invoked at the end of a scenario, when the scenario has multiple case and a data table. |
void |
introWord(java.lang.String value)
Invoked for intro words like given, when, then |
void |
reportDescription(java.lang.String description)
Invoked for the description of this report model. |
void |
scenarioEnd()
Invoked when the scenario is finished |
void |
scenarioTitle(java.lang.String title)
Is invoked for the title of the scenario. |
void |
stepArgument(java.lang.String argumentValue,
boolean differs)
Invoked for step arguments that are not arguments of a case |
void |
stepArgumentPlaceHolder(java.lang.String placeHolderValue)
Invoked for step argument place holders. |
void |
stepCaseArgument(java.lang.String caseArgumentValue)
Invoked for step arguments that are also arguments of a case. |
void |
stepDataTableArgument(DataTable dataTable)
Invoked for step arguments that are data tables |
void |
stepEnd()
Invoked when a step is finished |
void |
stepStart()
Invoked when a step starts |
void |
stepWord(java.lang.String value,
boolean differs)
Invoked for plain words of a step |
Method Detail |
---|
void className(java.lang.String className)
void reportDescription(java.lang.String description)
Is only invoked if there is actually an description
description
- the description, is never null
void scenarioTitle(java.lang.String title)
The title corresponds to the test method name
title
- the title of the scenariovoid caseHeader(int caseNr, java.util.List<java.lang.String> parameterNames, java.util.List<java.lang.String> caseArguments)
Plain Text Example:
Case 1: param1 = arg1, param2 = arg2It is guaranteed that
parameterNames.size() == caseArgument.size()
caseNr
- the number of the case, starting from 0parameterNames
- the parameter names of the scenariocaseArguments
- the arguments of the casevoid dataTable(AbstractReportModelHandler.ScenarioDataTable scenarioDataTable)
scenarioDataTable
- the data table of the scenariovoid scenarioEnd()
void stepStart()
void stepEnd()
void introWord(java.lang.String value)
void stepArgumentPlaceHolder(java.lang.String placeHolderValue)
This is only invoked when the scenario has a data table.
placeHolderValue
- the value of the place holdervoid stepCaseArgument(java.lang.String caseArgumentValue)
This is only invoked when the scenario has mutliple cases, but no data table
caseArgumentValue
- the value of the argumentvoid stepArgument(java.lang.String argumentValue, boolean differs)
argumentValue
- the value of the argumentdiffers
- whether this argument differs compared to other cases of the same scenariovoid stepDataTableArgument(DataTable dataTable)
dataTable
- the data tablevoid stepWord(java.lang.String value, boolean differs)
value
- the value of the worddiffers
- whether this word differs compared to other cases of the same scenario
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |