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
ConstructorsConstructorDescriptionPlainTextReporter(ConfigValue colorConfig) PlainTextReporter(PrintWriter printWriter, ConfigValue colorConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()static StringtoString(ReportModel model) static StringtoString(ScenarioModel scenarioModel) voidvisit(ReportModel multiScenarioModel) voidvisit(ScenarioModel scenarioModel) write(ReportModel model)
-
Constructor Details
-
PlainTextReporter
public PlainTextReporter() -
PlainTextReporter
-
PlainTextReporter
-
-
Method Details
-
toString
- Throws:
UnsupportedEncodingException
-
toString
- Throws:
UnsupportedEncodingException
-
write
-
visit
- Overrides:
visitin classReportModelVisitor
-
visit
- Overrides:
visitin classReportModelVisitor
-
flush
public void flush()
-