-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running with JUnit uses a null formatter by default (instead of a pro…
…gress formatter).
- Loading branch information
1 parent
dcec2a1
commit 5db40e6
Showing
4 changed files
with
83 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
package cucumber.formatter; | ||
|
||
import gherkin.formatter.Formatter; | ||
import gherkin.formatter.model.Background; | ||
import gherkin.formatter.model.Examples; | ||
import gherkin.formatter.model.Feature; | ||
import gherkin.formatter.model.Scenario; | ||
import gherkin.formatter.model.ScenarioOutline; | ||
import gherkin.formatter.model.Step; | ||
|
||
import java.util.List; | ||
|
||
public class NullFormatter implements Formatter { | ||
public NullFormatter(Appendable ignore) { | ||
} | ||
|
||
@Override | ||
public void uri(String uri) { | ||
} | ||
|
||
@Override | ||
public void feature(Feature feature) { | ||
} | ||
|
||
@Override | ||
public void background(Background background) { | ||
} | ||
|
||
@Override | ||
public void scenario(Scenario scenario) { | ||
} | ||
|
||
@Override | ||
public void scenarioOutline(ScenarioOutline scenarioOutline) { | ||
} | ||
|
||
@Override | ||
public void examples(Examples examples) { | ||
} | ||
|
||
@Override | ||
public void step(Step step) { | ||
} | ||
|
||
@Override | ||
public void eof() { | ||
} | ||
|
||
@Override | ||
public void syntaxError(String state, String event, List<String> legalEvents, String uri, int line) { | ||
} | ||
|
||
@Override | ||
public void done() { | ||
} | ||
|
||
@Override | ||
public void close() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters