Package com.tngtech.jgiven.report.text
Class DataTablePlainTextScenarioWriter
- java.lang.Object
-
- com.tngtech.jgiven.report.model.ReportModelVisitor
-
- com.tngtech.jgiven.report.text.PlainTextWriter
-
- com.tngtech.jgiven.report.text.PlainTextScenarioWriter
-
- com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
-
public class DataTablePlainTextScenarioWriter extends PlainTextScenarioWriter
-
-
Field Summary
-
Fields inherited from class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
currentCaseModel, currentScenarioModel, INDENT, NESTED_HEADING, NESTED_INDENT
-
Fields inherited from class com.tngtech.jgiven.report.text.PlainTextWriter
withColor, writer
-
-
Constructor Summary
Constructors Constructor Description DataTablePlainTextScenarioWriter(java.io.PrintWriter writer, boolean withColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
printCaseLine(ScenarioCaseModel scenarioCase)
void
visit(StepModel stepModel)
void
visitEnd(ScenarioCaseModel scenarioCase)
void
visitEnd(ScenarioModel scenarioModel)
protected java.lang.String
wordToString(Word word)
-
Methods inherited from class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
getDescriptionOrDefault, visit, visit
-
Methods inherited from class com.tngtech.jgiven.report.model.ReportModelVisitor
visit, visitEnd
-
-
-
-
Method Detail
-
visit
public void visit(StepModel stepModel)
- Overrides:
visit
in classPlainTextScenarioWriter
-
wordToString
protected java.lang.String wordToString(Word word)
- Overrides:
wordToString
in classPlainTextScenarioWriter
-
printCaseLine
protected void printCaseLine(ScenarioCaseModel scenarioCase)
- Overrides:
printCaseLine
in classPlainTextScenarioWriter
-
visitEnd
public void visitEnd(ScenarioCaseModel scenarioCase)
- Overrides:
visitEnd
in classPlainTextScenarioWriter
-
visitEnd
public void visitEnd(ScenarioModel scenarioModel)
- Overrides:
visitEnd
in classReportModelVisitor
-
-