Coverage Report - org.jbehave.core.steps.NullStepMonitor
 
Classes in this File Line Coverage Branch Coverage Complexity
NullStepMonitor
18%
2/11
N/A
1
 
 1  
 package org.jbehave.core.steps;
 2  
 
 3  
 import java.lang.reflect.Method;
 4  
 import java.lang.reflect.Type;
 5  
 
 6  
 import org.jbehave.core.model.StepPattern;
 7  
 
 8  
 /**
 9  
  * <a href="http://en.wikipedia.org/wiki/Null_Object_pattern">Null Object Pattern> implementation of {@link StepMonitor}.
 10  
  * Can be extended to override only the methods of interest.
 11  
  */
 12  5
 public class NullStepMonitor implements StepMonitor {
 13  
     public void stepMatchesType(String stepAsString, String previousAsString, boolean matchesType, StepType stepType,
 14  
             Method method, Object stepsInstance) {
 15  0
     }
 16  
 
 17  
     public void stepMatchesPattern(String step, boolean matches, StepPattern pattern, Method method,
 18  
             Object stepsInstance) {
 19  4
     }
 20  
 
 21  
     public void convertedValueOfType(String value, Type type, Object converted, Class<?> converterClass) {
 22  0
     }
 23  
 
 24  
     public void performing(String step, boolean dryRun) {
 25  0
     }
 26  
 
 27  
     public void usingAnnotatedNameForParameter(String name, int position) {
 28  0
     }
 29  
 
 30  
     public void usingParameterNameForParameter(String name, int position) {
 31  0
     }
 32  
 
 33  
     public void usingTableAnnotatedNameForParameter(String name, int position) {
 34  0
     }
 35  
 
 36  
     public void usingTableParameterNameForParameter(String name, int position) {
 37  0
     }
 38  
 
 39  
     public void usingNaturalOrderForParameter(int position) {
 40  0
     }
 41  
 
 42  
     public void foundParameter(String parameter, int position) {
 43  0
     }
 44  
 }