Clover Coverage Report - Pebble 2.5-SNAPSHOT
Coverage timestamp: Sat Jun 12 2010 09:39:29 EST
../../../../img/srcFileCovDistChart0.png 48% of files have more coverage
5   24   2   2,5
0   14   0,4   2
2     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  CheckboxPluginConfigType       Line # 9 5 0% 2 7 0% 0.0
 
No Tests
 
1    package net.sourceforge.pebble.plugins;
2   
3    import javax.servlet.jsp.JspWriter;
4    import java.io.IOException;
5   
6    /**
7    * @author James Roper
8    */
 
9    public class CheckboxPluginConfigType implements PluginConfigType {
10   
11    public static final CheckboxPluginConfigType INSTANCE = new CheckboxPluginConfigType();
12   
 
13  0 toggle public void render(JspWriter writer, PluginConfig pluginConfig, String value) throws IOException {
14  0 writer.print("<input type=\"checkbox\" name=\"");
15  0 writer.print(PLUGIN_PROPERTY_NAME_PREFIX);
16  0 writer.print(pluginConfig.getKey());
17  0 writer.print("\" value=\"true\"/>");
18    }
19   
 
20  0 toggle public String validate(PluginConfig pluginConfig, String value) {
21    // Success
22  0 return null;
23    }
24    }