Clover coverage report - Cactus 1.4b1 for J2EE API 13
Coverage timestamp: Mon Jul 29 2002 00:34:41 BST
file stats: LOC: 70   Methods: 2
NCLOC: 17   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
FilterTestCase.java - 0% 0% 0%
 1   
 /*   Generated by AspectJ version 1.0.5 */
 2   
 package org.apache.cactus;
 3   
 import javax.servlet.FilterChain;
 4   
 import javax.servlet.http.HttpServletResponse;
 5   
 import org.apache.cactus.client.FilterHttpClient;
 6   
 import org.apache.cactus.server.FilterConfigWrapper;
 7   
 
 8   
 /** 
 9   
  * Test classes that need access to valid Filter implicit objects (such as the 
 10   
  * <code>FilterConfig</code> and <code>FilterChain</code> objects) must 
 11   
  * subclass this class. 
 12   
  * 
 13   
  * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 14   
  * 
 15   
  * @version $Id: FilterTestCase.java,v 1.3 2002/04/28 20:19:17 vmassol Exp $ 
 16   
  */
 17   
 public class FilterTestCase extends AbstractWebTestCase {
 18   
   /** 
 19   
        * Valid <code>HttpServletRequest</code> object that you can access from 
 20   
        * the <code>testXXX()</code>, <code>setUp</code> and 
 21   
        * <code>tearDown()</code> methods. If you try to access it from either the 
 22   
        * <code>beginXXX()</code> or <code>endXXX()</code> methods it will 
 23   
        * have the <code>null</code> value. 
 24   
        */
 25   
   public org.apache.cactus.server.HttpServletRequestWrapper request;
 26   
   /** 
 27   
        * Valid <code>HttpServletResponse</code> object that you can access from 
 28   
        * the <code>testXXX()</code>, <code>setUp</code> and 
 29   
        * <code>tearDown()</code> methods. If you try to access it from either the 
 30   
        * <code>beginXXX()</code> or <code>endXXX()</code> methods it will 
 31   
        * have the <code>null</code> value. 
 32   
        */
 33   
   public HttpServletResponse response;
 34   
   /** 
 35   
        * Valid <code>FilterConfig</code> object that you can access from 
 36   
        * the <code>testXXX()</code>, <code>setUp</code> and 
 37   
        * <code>tearDown()</code> methods. If you try to access it from either the 
 38   
        * <code>beginXXX()</code> or <code>endXXX()</code> methods it will 
 39   
        * have the <code>null</code> value. 
 40   
        */
 41   
   public FilterConfigWrapper config;
 42   
   /** 
 43   
        * Valid <code>FilterChain</code> object that you can access from 
 44   
        * the <code>testXXX()</code>, <code>setUp</code> and 
 45   
        * <code>tearDown()</code> methods. If you try to access it from either the 
 46   
        * <code>beginXXX()</code> or <code>endXXX()</code> methods it will 
 47   
        * have the <code>null</code> value. 
 48   
        */
 49   
   public FilterChain filterChain;
 50   
   /** 
 51   
        * Constructs a JUnit test case with the given name. 
 52   
        * 
 53   
        * @param theName the name of the test case 
 54   
        */
 55  0
   public FilterTestCase(String theName) {
 56  0
     super(theName);
 57   
     ;
 58   
   } 
 59   
   /** 
 60   
        * Runs a test case. This method is overriden from the JUnit 
 61   
        * <code>TestCase</code> class in order to seamlessly call the 
 62   
        * Cactus redirection servlet. 
 63   
        * 
 64   
        * @exception Throwable if the test fails for any reason 
 65   
        */
 66  0
   protected void runTest() throws Throwable {
 67  0
     this.runGenericTest(new FilterHttpClient());
 68   
   } 
 69   
 
 70   
 }