cucumber.pro
Class CucumberFormatter

java.lang.Object
  extended by cucumber.pro.CucumberFormatter
All Implemented Interfaces:
gherkin.formatter.Formatter, gherkin.formatter.Reporter, Closeable

public class CucumberFormatter
extends Object
implements gherkin.formatter.Formatter, gherkin.formatter.Reporter


Field Summary
static long TIMEOUT_MILLIS
           
 
Constructor Summary
CucumberFormatter(URL baseUrl)
           
 
Method Summary
 void after(gherkin.formatter.model.Match match, gherkin.formatter.model.Result result)
           
 void background(gherkin.formatter.model.Background background)
           
 void before(gherkin.formatter.model.Match match, gherkin.formatter.model.Result result)
           
 void close()
           
 void done()
           
 void embedding(String mimeType, byte[] bytes)
           
 void eof()
           
 void examples(gherkin.formatter.model.Examples examples)
           
 void feature(gherkin.formatter.model.Feature feature)
           
 void match(gherkin.formatter.model.Match match)
           
 void result(gherkin.formatter.model.Result result)
           
 void scenario(gherkin.formatter.model.Scenario scenario)
           
 void scenarioOutline(gherkin.formatter.model.ScenarioOutline scenarioOutline)
           
 void step(gherkin.formatter.model.Step step)
           
 void syntaxError(String state, String event, List<String> legalEvents, String uri, Integer line)
           
 void uri(String uri)
           
 void write(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT_MILLIS

public static final long TIMEOUT_MILLIS
See Also:
Constant Field Values
Constructor Detail

CucumberFormatter

public CucumberFormatter(URL baseUrl)
                  throws IOException
Throws:
IOException
Method Detail

before

public void before(gherkin.formatter.model.Match match,
                   gherkin.formatter.model.Result result)
Specified by:
before in interface gherkin.formatter.Reporter

result

public void result(gherkin.formatter.model.Result result)
Specified by:
result in interface gherkin.formatter.Reporter

after

public void after(gherkin.formatter.model.Match match,
                  gherkin.formatter.model.Result result)
Specified by:
after in interface gherkin.formatter.Reporter

match

public void match(gherkin.formatter.model.Match match)
Specified by:
match in interface gherkin.formatter.Reporter

embedding

public void embedding(String mimeType,
                      byte[] bytes)
Specified by:
embedding in interface gherkin.formatter.Reporter

write

public void write(String text)
Specified by:
write in interface gherkin.formatter.Reporter

uri

public void uri(String uri)
Specified by:
uri in interface gherkin.formatter.Formatter

feature

public void feature(gherkin.formatter.model.Feature feature)
Specified by:
feature in interface gherkin.formatter.Formatter

background

public void background(gherkin.formatter.model.Background background)
Specified by:
background in interface gherkin.formatter.Formatter

scenario

public void scenario(gherkin.formatter.model.Scenario scenario)
Specified by:
scenario in interface gherkin.formatter.Formatter

scenarioOutline

public void scenarioOutline(gherkin.formatter.model.ScenarioOutline scenarioOutline)
Specified by:
scenarioOutline in interface gherkin.formatter.Formatter

examples

public void examples(gherkin.formatter.model.Examples examples)
Specified by:
examples in interface gherkin.formatter.Formatter

step

public void step(gherkin.formatter.model.Step step)
Specified by:
step in interface gherkin.formatter.Formatter

eof

public void eof()
Specified by:
eof in interface gherkin.formatter.Formatter

syntaxError

public void syntaxError(String state,
                        String event,
                        List<String> legalEvents,
                        String uri,
                        Integer line)
Specified by:
syntaxError in interface gherkin.formatter.Formatter

done

public void done()
Specified by:
done in interface gherkin.formatter.Formatter

close

public void close()
Specified by:
close in interface gherkin.formatter.Formatter
Specified by:
close in interface Closeable


Copyright © 2013. All Rights Reserved.