Clover coverage report - JFCUnit Test Coverage
Coverage timestamp: Mon Dec 20 2004 23:38:10 MST
file stats: LOC: 48   Methods: 2
NCLOC: 10   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
NoOpTagHandler.java - 100% 100% 100%
coverage
 1   
 /*
 2   
  * Created on Oct 24, 2003
 3   
  *
 4   
  * To change the template for this generated file go to
 5   
  * Window>Preferences>Java>Code Generation>Code and Comments
 6   
  */
 7   
 package junit.extensions.xml.elements;
 8   
 
 9   
 import junit.extensions.xml.IXMLTestCase;
 10   
 
 11   
 import org.w3c.dom.Element;
 12   
 
 13   
 
 14   
 /**
 15   
  * Provide a mechanism for turning off specific tag
 16   
  * handlers by changing the tag handler assignment.
 17   
  *
 18   
  *
 19   
  * <H3>Tag Name</H3>
 20   
  * noop
 21   
  * <H3>Examples</H3>
 22   
  * Simple usage
 23   
  * <pre>
 24   
  *  &lt;noop/&gt;
 25   
  * </pre>
 26   
  * Used as a tag hander to ignore user tags.
 27   
  * <pre>
 28   
  * &lt;taghandlers action="add" tagname="mytag" classname="junit.extensions.xml.elements.NoOpTagHandler/&gt;
 29   
  * </pre>
 30   
  * @author Kevin Wilson
 31   
  */
 32   
 public class NoOpTagHandler extends AbstractTagHandler {
 33   
     /**
 34   
      * Constructor.
 35   
      * @param element Element to be processed by the tag handler.
 36   
      * @param testcase parent test case.
 37   
      */
 38  4
     public NoOpTagHandler(final Element element, final IXMLTestCase testcase) {
 39  4
         super(element, testcase);
 40   
     }
 41   
 
 42   
     /**
 43   
      * Handle the XML processing of the tag 'noop'.
 44   
      */
 45  1
     public void processElement() {
 46   
     }
 47   
 }
 48