Coverage Report - org.jbehave.core.embedder.EmbedderMonitor
 
Classes in this File Line Coverage Branch Coverage Complexity
EmbedderMonitor
N/A
N/A
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.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  
 public interface EmbedderMonitor {
 17  
 
 18  
     void runningEmbeddable(String name);
 19  
 
 20  
     void embeddableFailed(String name, Throwable cause);
 21  
 
 22  
     void embeddableNotConfigurable(String name);
 23  
 
 24  
     void embeddablesSkipped(List<String> classNames);
 25  
 
 26  
     void metaNotAllowed(Meta meta, MetaFilter filter);
 27  
 
 28  
     void runningStory(String path);
 29  
 
 30  
     void storyFailed(String path, Throwable cause);
 31  
 
 32  
     void storiesSkipped(List<String> storyPaths);
 33  
 
 34  
     /** @deprecated Use #storiesNotAllowed(List<String>, MetaFilter, boolean) */
 35  
     void storiesNotAllowed(List<Story> notAllowed, MetaFilter filter);
 36  
 
 37  
     void storiesNotAllowed(List<Story> notAllowed, MetaFilter filter, boolean verbose);
 38  
 
 39  
         void scenarioNotAllowed(Scenario scenario, MetaFilter filter);
 40  
 
 41  
     void batchFailed(BatchFailures failures);
 42  
 
 43  
     void beforeOrAfterStoriesFailed();
 44  
 
 45  
     void generatingReportsView(File outputDirectory, List<String> formats, Properties viewProperties);
 46  
 
 47  
     void reportsViewGenerationFailed(File outputDirectory, List<String> formats, Properties viewProperties,
 48  
             Throwable cause);
 49  
 
 50  
     void reportsViewGenerated(ReportsCount count);
 51  
 
 52  
     void reportsViewFailures(ReportsCount count);
 53  
 
 54  
     void reportsViewNotGenerated();
 55  
 
 56  
     void runningWithAnnotatedEmbedderRunner(String className);
 57  
 
 58  
     void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type);
 59  
 
 60  
     void mappingStory(String storyPath, List<String> metaFilters);
 61  
 
 62  
     void generatingMapsView(File outputDirectory, StoryMaps storyMaps, Properties viewProperties);
 63  
 
 64  
     void mapsViewGenerationFailed(File outputDirectory, StoryMaps storyMaps, Properties viewProperties, Throwable cause);
 65  
 
 66  
     void generatingNavigatorView(File outputDirectory, Properties viewResources);
 67  
 
 68  
     void navigatorViewGenerationFailed(File outputDirectory, Properties viewResources, Throwable cause);
 69  
 
 70  
     void navigatorViewNotGenerated();
 71  
 
 72  
     void processingSystemProperties(Properties properties);
 73  
 
 74  
     void systemPropertySet(String name, String value);
 75  
 
 76  
     void storyTimeout(Story story, StoryDuration storyDuration);
 77  
 
 78  
     void usingThreads(int threads);
 79  
 
 80  
     void usingExecutorService(ExecutorService executorService);
 81  
 
 82  
     void usingControls(EmbedderControls embedderControls);
 83  
     
 84  
     void invalidTimeoutFormat(String path);
 85  
     
 86  
     void usingTimeout(String path, long timeout);
 87  
 
 88  
 }