| 1 | |
package org.jbehave.core.reporters; |
| 2 | |
|
| 3 | |
import java.util.List; |
| 4 | |
import java.util.Map; |
| 5 | |
|
| 6 | |
import org.jbehave.core.model.ExamplesTable; |
| 7 | |
import org.jbehave.core.model.GivenStories; |
| 8 | |
import org.jbehave.core.model.Meta; |
| 9 | |
import org.jbehave.core.model.Narrative; |
| 10 | |
import org.jbehave.core.model.OutcomesTable; |
| 11 | |
import org.jbehave.core.model.Scenario; |
| 12 | |
import org.jbehave.core.model.Story; |
| 13 | |
import org.jbehave.core.model.StoryDuration; |
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
|
| 19 | |
|
| 20 | |
|
| 21 | |
|
| 22 | 24 | public class NullStoryReporter implements StoryReporter { |
| 23 | |
|
| 24 | |
public void beforeStep(String step) { |
| 25 | 1 | } |
| 26 | |
|
| 27 | |
public void successful(String step) { |
| 28 | 24 | } |
| 29 | |
|
| 30 | |
public void ignorable(String step) { |
| 31 | 8 | } |
| 32 | |
|
| 33 | |
public void pending(String step) { |
| 34 | 4 | } |
| 35 | |
|
| 36 | |
public void notPerformed(String step) { |
| 37 | 8 | } |
| 38 | |
|
| 39 | |
public void failed(String step, Throwable cause) { |
| 40 | 6 | } |
| 41 | |
|
| 42 | |
public void failedOutcomes(String step, OutcomesTable table) { |
| 43 | 8 | } |
| 44 | |
|
| 45 | |
public void storyNotAllowed(Story story, String filter) { |
| 46 | 0 | } |
| 47 | |
|
| 48 | |
public void beforeStory(Story story, boolean givenStory) { |
| 49 | 11 | } |
| 50 | |
|
| 51 | |
public void storyCancelled(Story story, StoryDuration storyDuration) { |
| 52 | 8 | } |
| 53 | |
|
| 54 | |
public void afterStory(boolean givenStory) { |
| 55 | 11 | } |
| 56 | |
|
| 57 | |
public void narrative(final Narrative narrative) { |
| 58 | 9 | } |
| 59 | |
|
| 60 | |
public void givenStories(GivenStories givenStories) { |
| 61 | 0 | } |
| 62 | |
|
| 63 | |
public void givenStories(List<String> storyPaths) { |
| 64 | 7 | } |
| 65 | |
|
| 66 | |
public void beforeScenario(String title) { |
| 67 | 11 | } |
| 68 | |
|
| 69 | |
public void scenarioNotAllowed(Scenario scenario, String filter) { |
| 70 | 0 | } |
| 71 | |
|
| 72 | |
public void scenarioMeta(Meta meta) { |
| 73 | 2 | } |
| 74 | |
|
| 75 | |
public void afterScenario() { |
| 76 | 10 | } |
| 77 | |
|
| 78 | |
public void beforeExamples(List<String> steps, ExamplesTable table) { |
| 79 | 8 | } |
| 80 | |
|
| 81 | |
public void example(Map<String, String> tableRow) { |
| 82 | 16 | } |
| 83 | |
|
| 84 | |
public void afterExamples() { |
| 85 | 8 | } |
| 86 | |
|
| 87 | |
public void dryRun() { |
| 88 | 8 | } |
| 89 | |
|
| 90 | |
public void pendingMethods(List<String> methods) { |
| 91 | 7 | } |
| 92 | |
|
| 93 | |
public void restarted(String step, Throwable cause) { |
| 94 | 7 | } |
| 95 | |
|
| 96 | |
|
| 97 | |
} |