Coverage Report - org.jbehave.core.failures.PendingStepsFound
 
Classes in this File Line Coverage Branch Coverage Complexity
PendingStepsFound
0%
0/7
0%
0/2
1.5
 
 1  
 package org.jbehave.core.failures;
 2  
 
 3  
 import java.util.ArrayList;
 4  
 import java.util.List;
 5  
 
 6  
 import org.jbehave.core.steps.StepCreator.PendingStep;
 7  
 
 8  
 /**
 9  
  * Thrown when a pending step is found
 10  
  */
 11  
 @SuppressWarnings("serial")
 12  
 public class PendingStepsFound extends UUIDExceptionWrapper {
 13  
 
 14  
     public PendingStepsFound(List<PendingStep> steps) {
 15  0
         super(asString(steps));
 16  0
     }
 17  
 
 18  
     private static String asString(List<PendingStep> steps) {
 19  0
         List<String> list = new ArrayList<String>();
 20  0
         for (PendingStep step : steps) {
 21  0
             list.add(step.stepAsString());
 22  0
         }
 23  0
         return list.toString();
 24  
     }
 25  
 
 26  
 }