Package com.tngtech.jgiven.report.model
Class CasesTable
java.lang.Object
com.tngtech.jgiven.report.model.CasesTable
Represents multiple scenario cases as a table structure for simpler reporting.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Represents one case of a scenario. -
Constructor Summary
ConstructorsConstructorDescriptionCasesTable
(List<String> placeHolders, boolean withDescriptions, List<CasesTable.CaseRow> rows) Create a new CasesTable from its parts. -
Method Summary
Modifier and TypeMethodDescriptionboolean
The placeholders of the data table.rows()
The rows of the table, not including the header.
-
Constructor Details
-
CasesTable
public CasesTable(List<String> placeHolders, boolean withDescriptions, List<CasesTable.CaseRow> rows) Create a new CasesTable from its parts.- Parameters:
placeHolders
- the placeholders for the headerwithDescriptions
- are descriptions includedrows
- the rows representing the ScenarioCaseModels
-
-
Method Details
-
placeholders
The placeholders of the data table. -
hasDescriptions
public boolean hasDescriptions() -
rows
The rows of the table, not including the header.
-