Package com.tngtech.jgiven.report.text
Class PlainTextReporter
java.lang.Object
com.tngtech.jgiven.report.model.ReportModelVisitor
com.tngtech.jgiven.report.text.PlainTextWriter
com.tngtech.jgiven.report.text.PlainTextReporter
Generates a plain text report to a PrintStream.
-
Field Summary
Fields inherited from class com.tngtech.jgiven.report.text.PlainTextWriter
withColor, writer
-
Constructor Summary
ConstructorDescriptionPlainTextReporter
(ConfigValue colorConfig) PlainTextReporter
(PrintWriter printWriter, ConfigValue colorConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
static String
toString
(ReportModel model) static String
toString
(ScenarioModel scenarioModel) void
visit
(ReportModel multiScenarioModel) void
visit
(ScenarioModel scenarioModel) write
(ReportModel model)
-
Constructor Details
-
PlainTextReporter
public PlainTextReporter() -
PlainTextReporter
-
PlainTextReporter
-
-
Method Details
-
toString
- Throws:
UnsupportedEncodingException
-
toString
- Throws:
UnsupportedEncodingException
-
write
-
visit
- Overrides:
visit
in classReportModelVisitor
-
visit
- Overrides:
visit
in classReportModelVisitor
-
flush
public void flush()
-