1 | |
package org.jbehave.core.embedder; |
2 | |
|
3 | |
import java.io.File; |
4 | |
import java.util.List; |
5 | |
import java.util.Properties; |
6 | |
import java.util.concurrent.ExecutorService; |
7 | |
|
8 | |
import org.jbehave.core.failures.BatchFailures; |
9 | |
import org.jbehave.core.model.Meta; |
10 | |
import org.jbehave.core.model.Scenario; |
11 | |
import org.jbehave.core.model.Story; |
12 | |
import org.jbehave.core.model.StoryDuration; |
13 | |
import org.jbehave.core.model.StoryMaps; |
14 | |
import org.jbehave.core.reporters.ReportsCount; |
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | 145 | public class NullEmbedderMonitor implements EmbedderMonitor { |
22 | |
|
23 | |
public void runningEmbeddable(String name) { |
24 | 0 | } |
25 | |
|
26 | |
public void embeddableFailed(String name, Throwable cause) { |
27 | 0 | } |
28 | |
|
29 | |
public void embeddableNotConfigurable(String name) { |
30 | 0 | } |
31 | |
|
32 | |
public void embeddablesSkipped(List<String> classNames) { |
33 | 0 | } |
34 | |
|
35 | |
public void metaNotAllowed(Meta meta, MetaFilter filter) { |
36 | 0 | } |
37 | |
|
38 | |
public void runningStory(String path) { |
39 | 0 | } |
40 | |
|
41 | |
public void storyFailed(String path, Throwable cause) { |
42 | 0 | } |
43 | |
|
44 | |
public void storiesSkipped(List<String> storyPaths) { |
45 | 0 | } |
46 | |
|
47 | |
public void storiesNotAllowed(List<Story> notAllowed, MetaFilter filter) { |
48 | 0 | storiesNotAllowed(notAllowed, filter, false); |
49 | 0 | } |
50 | |
|
51 | |
public void storiesNotAllowed(List<Story> notAllowed, MetaFilter filter, boolean verbose) { |
52 | 0 | } |
53 | |
|
54 | |
public void scenarioNotAllowed(Scenario scenario, MetaFilter filter) { |
55 | 0 | } |
56 | |
|
57 | |
public void batchFailed(BatchFailures failures) { |
58 | 0 | } |
59 | |
|
60 | |
public void beforeOrAfterStoriesFailed() { |
61 | 0 | } |
62 | |
|
63 | |
public void generatingReportsView(File outputDirectory, List<String> formats, Properties viewProperties) { |
64 | 0 | } |
65 | |
|
66 | |
public void reportsViewGenerationFailed(File outputDirectory, List<String> formats, Properties viewProperties, |
67 | |
Throwable cause) { |
68 | 0 | } |
69 | |
|
70 | |
public void reportsViewGenerated(ReportsCount count) { |
71 | 0 | } |
72 | |
|
73 | |
public void reportsViewFailures(ReportsCount count) { |
74 | 0 | } |
75 | |
|
76 | |
public void reportsViewNotGenerated() { |
77 | 0 | } |
78 | |
|
79 | |
public void runningWithAnnotatedEmbedderRunner(String className) { |
80 | 0 | } |
81 | |
|
82 | |
public void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type) { |
83 | 0 | } |
84 | |
|
85 | |
public void mappingStory(String storyPath, List<String> metaFilters) { |
86 | 0 | } |
87 | |
|
88 | |
public void generatingMapsView(File outputDirectory, StoryMaps storyMaps, Properties viewProperties) { |
89 | 0 | } |
90 | |
|
91 | |
public void mapsViewGenerationFailed(File outputDirectory, StoryMaps storyMaps, Properties viewProperties, |
92 | |
Throwable cause) { |
93 | 0 | } |
94 | |
|
95 | |
public void generatingNavigatorView(File outputDirectory, Properties viewResources) { |
96 | 0 | } |
97 | |
|
98 | |
public void navigatorViewGenerationFailed(File outputDirectory, Properties viewResources, Throwable cause) { |
99 | 0 | } |
100 | |
|
101 | |
public void navigatorViewNotGenerated() { |
102 | 0 | } |
103 | |
|
104 | |
public void processingSystemProperties(Properties properties) { |
105 | 0 | } |
106 | |
|
107 | |
public void systemPropertySet(String name, String value) { |
108 | 0 | } |
109 | |
|
110 | |
public void storyTimeout(Story story, StoryDuration storyDuration) { |
111 | 0 | } |
112 | |
|
113 | |
public void usingThreads(int threads) { |
114 | 0 | } |
115 | |
|
116 | |
public void usingExecutorService(ExecutorService executorService) { |
117 | 0 | } |
118 | |
|
119 | |
public void usingControls(EmbedderControls embedderControls) { |
120 | 0 | } |
121 | |
|
122 | |
public String getSearchDirectory() { |
123 | 0 | return null; |
124 | |
} |
125 | |
|
126 | |
public void invalidTimeoutFormat(String path) { |
127 | 0 | } |
128 | |
|
129 | |
public void usingTimeout(String path, long timeout) { |
130 | 15 | } |
131 | |
|
132 | |
} |