Package com.tngtech.jgiven.report.text
Class PlainTextScenarioWriter
java.lang.Object
com.tngtech.jgiven.report.model.ReportModelVisitor
com.tngtech.jgiven.report.text.PlainTextWriter
com.tngtech.jgiven.report.text.PlainTextScenarioWriter
- Direct Known Subclasses:
DataTablePlainTextScenarioWriter
-
Field Summary
Modifier and TypeFieldDescriptionprotected ScenarioCaseModel
protected ScenarioModel
protected static final String
static final String
static final String
Fields inherited from class com.tngtech.jgiven.report.text.PlainTextWriter
withColor, writer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDescriptionOrDefault
(ScenarioCaseModel scenarioCase) protected void
printCaseLine
(ScenarioCaseModel scenarioCase) void
visit
(ScenarioCaseModel scenarioCase) void
visit
(ScenarioModel scenarioModel) void
void
visitEnd
(ScenarioCaseModel scenarioCase) protected String
wordToString
(Word word) Methods inherited from class com.tngtech.jgiven.report.model.ReportModelVisitor
visit, visitEnd, visitEnd
-
Field Details
-
INDENT
- See Also:
-
NESTED_HEADING
- See Also:
-
NESTED_INDENT
- See Also:
-
currentScenarioModel
-
currentCaseModel
-
-
Constructor Details
-
PlainTextScenarioWriter
-
-
Method Details
-
visit
- Overrides:
visit
in classReportModelVisitor
-
visitEnd
- Overrides:
visitEnd
in classReportModelVisitor
-
visit
- Overrides:
visit
in classReportModelVisitor
-
printCaseLine
-
getDescriptionOrDefault
-
visit
- Overrides:
visit
in classReportModelVisitor
-
wordToString
-