##### Coverage Report - org.jbehave.core.configuration.spring.SpringStoryControls

Classes in this File | Line Coverage | Branch Coverage | Complexity
SpringStoryControls |
50% | 5/10
N/A | N/A
| 1.0;1

1 |  |
     package org.jbehave.core.configuration.spring;
2 |  |
3 |  |
     import org.jbehave.core.embedder.StoryControls;
4 |  |
5 |  |
     /**
6 |  |
      * Extends {@link StoryControls} to provide getter/setter methods for all
7 |  |
      * control properties, so it can be used by Spring's property mechanism.
8 |  |
      */
9 | 5 |
     public class SpringStoryControls extends StoryControls {
10 |  |
11 |  |
         public boolean getDryRun(){
12 | 0 |
             return dryRun();
13 |  |
         }
14 |  |
15 |  |
         public void setDryRun(boolean dryRun){
16 | 5 |
             doDryRun(dryRun);
17 | 5 |
         }
18 |  |
19 |  |
         public boolean isSkipScenariosAfterFailure() {
20 | 0 |
             return skipScenariosAfterFailure();
21 |  |
         }
22 |  |
23 |  |
         public void setSkipScenariosAfterFailure(boolean skipScenariosAfterFailure) {
24 | 5 |
             doSkipScenariosAfterFailure(skipScenariosAfterFailure);
25 | 5 |
         }
26 |  |
27 |  |
         public boolean isSkipBeforeAndAfterScenarioStepsIfGivenStory() {
28 | 0 |
             return skipBeforeAndAfterScenarioStepsIfGivenStory();
29 |  |
         }
30 |  |
31 |  |
         public void setSkipBeforeAndAfterScenarioStepsIfGivenStory(boolean skipBeforeAndAfterScenarioStepsIfGivenStory) {
32 | 0 |
             doSkipBeforeAndAfterScenarioStepsIfGivenStory(skipBeforeAndAfterScenarioStepsIfGivenStory);
33 | 0 |
         }
34 |  |
35 |  |
     }