Coverage Report - org.jbehave.jenkins.JBehavePluginType
 
Classes in this File Line Coverage Branch Coverage Complexity
JBehavePluginType
0%
0/4
N/A
1
JBehavePluginType$DescriptorImpl
0%
0/3
N/A
1
 
 1  
 package org.jbehave.jenkins;
 2  
 
 3  
 import org.kohsuke.stapler.DataBoundConstructor;
 4  
 
 5  
 import com.thalesgroup.dtkit.metrics.hudson.api.descriptor.TestTypeDescriptor;
 6  
 import com.thalesgroup.dtkit.metrics.hudson.api.type.TestType;
 7  
 
 8  
 import hudson.Extension;
 9  
 
 10  0
 @SuppressWarnings("serial")
 11  
 public class JBehavePluginType extends TestType {
 12  
 
 13  
     @DataBoundConstructor
 14  
     public JBehavePluginType(String pattern, boolean failedIfNotNew, boolean deleteOutputFiles) {
 15  0
         super(pattern, failedIfNotNew, deleteOutputFiles);
 16  0
     }
 17  
 
 18  
     public TestTypeDescriptor<?> getDescriptor() {
 19  0
         return new JBehavePluginType.DescriptorImpl();
 20  
     }
 21  
 
 22  
     @Extension
 23  
     public static class DescriptorImpl extends TestTypeDescriptor<JBehavePluginType> {
 24  
 
 25  
         public DescriptorImpl() {
 26  0
             super(JBehavePluginType.class, JBehaveInputMetric.class);
 27  0
         }
 28  
 
 29  
         public String getId() {
 30  0
             return JBehavePluginType.class.getCanonicalName();
 31  
         }
 32  
     }
 33  
 
 34  
 }