##### Coverage Report - org.jbehave.core.embedder.NullEmbedderMonitor

Classes in this File | Line Coverage | Branch Coverage | Complexity
NullEmbedderMonitor |
3% | 1/33
N/A | N/A
| 1.0;1

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.Story;
11 |  |
     import org.jbehave.core.model.StoryDuration;
12 |  |
     import org.jbehave.core.model.StoryMaps;
13 |  |
     import org.jbehave.core.reporters.ReportsCount;
14 |  |
15 |  |
     /**
16 |  |
      * <a href="http://en.wikipedia.org/wiki/Null_Object_pattern">Null Object
17 |  |
      * Pattern</a> implementation of {@link EmbedderMonitor}. Can be extended to
18 |  |
      * override only the methods of interest.
19 |  |
      */
20 | 115 |
     public class NullEmbedderMonitor implements EmbedderMonitor {
21 |  |
22 |  |
         public void runningEmbeddable(String name) {
23 | 0 |
         }
24 |  |
25 |  |
         public void embeddableFailed(String name, Throwable cause) {
26 | 0 |
         }
27 |  |
28 |  |
         public void embeddableNotConfigurable(String name) {
29 | 0 |
         }
30 |  |
31 |  |
         public void embeddablesSkipped(List<String> classNames) {
32 | 0 |
         }
33 |  |
34 |  |
         public void metaNotAllowed(Meta meta, MetaFilter filter) {
35 | 0 |
         }
36 |  |
37 |  |
         public void runningStory(String path) {
38 | 0 |
         }
39 |  |
40 |  |
         public void storyFailed(String path, Throwable cause) {
41 | 0 |
         }
42 |  |
43 |  |
         public void storiesSkipped(List<String> storyPaths) {
44 | 0 |
         }
45 |  |
46 |  |
         public void storiesNotAllowed(List<Story> notAllowed, MetaFilter filter) {
47 | 0 |
             storiesNotAllowed(notAllowed, filter, false);
48 | 0 |
         }
49 |  |
50 |  |
         public void storiesNotAllowed(List<Story> notAllowed, MetaFilter filter, boolean verbose) {
51 | 0 |
         }
52 |  |
53 |  |
         public void batchFailed(BatchFailures failures) {
54 | 0 |
         }
55 |  |
56 |  |
         public void beforeOrAfterStoriesFailed() {
57 | 0 |
         }
58 |  |
59 |  |
         public void generatingReportsView(File outputDirectory, List<String> formats, Properties viewProperties) {
60 | 0 |
         }
61 |  |
62 |  |
         public void reportsViewGenerationFailed(File outputDirectory, List<String> formats, Properties viewProperties,
63 |  |
                 Throwable cause) {
64 | 0 |
         }
65 |  |
66 |  |
         public void reportsViewGenerated(ReportsCount count) {
67 | 0 |
         }
68 |  |
69 |  |
         public void reportsViewFailures(ReportsCount count) {
70 | 0 |
         }
71 |  |
72 |  |
         public void reportsViewNotGenerated() {
73 | 0 |
         }
74 |  |
75 |  |
         public void runningWithAnnotatedEmbedderRunner(String className) {
76 | 0 |
         }
77 |  |
78 |  |
         public void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type) {
79 | 0 |
         }
80 |  |
81 |  |
         public void mappingStory(String storyPath, List<String> metaFilters) {
82 | 0 |
         }
83 |  |
84 |  |
         public void generatingMapsView(File outputDirectory, StoryMaps storyMaps, Properties viewProperties) {
85 | 0 |
         }
86 |  |
87 |  |
         public void mapsViewGenerationFailed(File outputDirectory, StoryMaps storyMaps, Properties viewProperties,
88 |  |
                 Throwable cause) {
89 | 0 |
         }
90 |  |
91 |  |
         public void generatingNavigatorView(File outputDirectory, Properties viewResources) {
92 | 0 |
         }
93 |  |
94 |  |
         public void navigatorViewGenerationFailed(File outputDirectory, Properties viewResources, Throwable cause) {
95 | 0 |
         }
96 |  |
97 |  |
         public void navigatorViewNotGenerated() {
98 | 0 |
         }
99 |  |
100 |  |
         public void processingSystemProperties(Properties properties) {
101 | 0 |
         }
102 |  |
103 |  |
         public void systemPropertySet(String name, String value) {
104 | 0 |
         }
105 |  |
106 |  |
         public void storyTimeout(Story story, StoryDuration storyDuration) {
107 | 0 |
         }
108 |  |
109 |  |
         public void usingThreads(int threads) {
110 | 0 |
         }
111 |  |
112 |  |
         public void usingExecutorService(ExecutorService executorService) {
113 | 0 |
         }
114 |  |
115 |  |
         public void usingControls(EmbedderControls embedderControls) {
116 | 0 |
         }
117 |  |
118 |  |
     }