com.tngtech.jgiven.report.text
Class PlainTextScenarioWriter

java.lang.Object
  extended by com.tngtech.jgiven.report.model.ReportModelVisitor
      extended by com.tngtech.jgiven.report.text.PlainTextWriter
          extended by com.tngtech.jgiven.report.text.PlainTextScenarioWriter
Direct Known Subclasses:
DataTablePlainTextScenarioWriter

public class PlainTextScenarioWriter
extends PlainTextWriter


Field Summary
protected  ScenarioCaseModel currentCaseModel
           
protected  ScenarioModel currentScenarioModel
           
 
Fields inherited from class com.tngtech.jgiven.report.text.PlainTextWriter
withColor, writer
 
Constructor Summary
PlainTextScenarioWriter(PrintWriter printWriter, boolean withColor)
           
 
Method Summary
protected  void printCaseLine(ScenarioCaseModel scenarioCase)
           
 void visit(ScenarioCaseModel scenarioCase)
           
 void visit(ScenarioModel scenarioModel)
           
 void visit(StepModel stepModel)
           
 void visitEnd(ScenarioCaseModel scenarioCase)
           
protected  String wordToString(Word word)
           
 
Methods inherited from class com.tngtech.jgiven.report.model.ReportModelVisitor
visit, visitEnd, visitEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentScenarioModel

protected ScenarioModel currentScenarioModel

currentCaseModel

protected ScenarioCaseModel currentCaseModel
Constructor Detail

PlainTextScenarioWriter

public PlainTextScenarioWriter(PrintWriter printWriter,
                               boolean withColor)
Method Detail

visit

public void visit(ScenarioModel scenarioModel)
Overrides:
visit in class ReportModelVisitor

visitEnd

public void visitEnd(ScenarioCaseModel scenarioCase)
Overrides:
visitEnd in class ReportModelVisitor

visit

public void visit(ScenarioCaseModel scenarioCase)
Overrides:
visit in class ReportModelVisitor

printCaseLine

protected void printCaseLine(ScenarioCaseModel scenarioCase)

visit

public void visit(StepModel stepModel)
Overrides:
visit in class ReportModelVisitor

wordToString

protected String wordToString(Word word)


Copyright © 2014 TNG Technology Consulting. All rights reserved.