2011/08/05 - Jakarta Cactus has been retired.

For more information, please explore the Attic.

Clover coverage report - Cactus 1.8dev for J2EE API 1.3
Coverage timestamp: Sun Mar 26 2006 18:50:18 BRT
file stats: LOC: 98   Methods: 7
NCLOC: 33   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
ServletTestSuite.java - 0% 0% 0%
coverage
 1   
 /* 
 2   
  * ========================================================================
 3   
  * 
 4   
  * Copyright 2001-2004 The Apache Software Foundation.
 5   
  *
 6   
  * Licensed under the Apache License, Version 2.0 (the "License");
 7   
  * you may not use this file except in compliance with the License.
 8   
  * You may obtain a copy of the License at
 9   
  * 
 10   
  *   http://www.apache.org/licenses/LICENSE-2.0
 11   
  * 
 12   
  * Unless required by applicable law or agreed to in writing, software
 13   
  * distributed under the License is distributed on an "AS IS" BASIS,
 14   
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 15   
  * See the License for the specific language governing permissions and
 16   
  * limitations under the License.
 17   
  * 
 18   
  * ========================================================================
 19   
  */
 20   
 package org.apache.cactus;
 21   
 
 22   
 import org.apache.cactus.internal.AbstractTestSuite;
 23   
 
 24   
 import junit.framework.Test;
 25   
 
 26   
 /**
 27   
  * {@link junit.framework.TestSuite} wrapper that wraps all the tests of the 
 28   
  * suite in Cactus {@link ServletTestCase} objects.
 29   
  *
 30   
  * @version $Id: ServletTestSuite.java 238991 2004-05-22 11:34:50Z vmassol $
 31   
  * @since 1.5
 32   
  */
 33   
 public class ServletTestSuite extends AbstractTestSuite
 34   
 {
 35   
     /**
 36   
      * @see AbstractTestSuite#AbstractTestSuite()
 37   
      */
 38  0
     public ServletTestSuite()
 39   
     {
 40   
     }
 41   
 
 42   
     /**
 43   
      * @see AbstractTestSuite#AbstractTestSuite(Class)
 44   
      */
 45  0
     public ServletTestSuite(final Class theClass)
 46   
     {
 47  0
         super(theClass);
 48   
     }
 49   
 
 50   
     /**
 51   
      * @see AbstractTestSuite#AbstractTestSuite(String)
 52   
      */
 53  0
     public ServletTestSuite(String theName)
 54   
     {
 55  0
         super(theName);
 56   
     }
 57   
 
 58   
     /** 
 59   
      * @see AbstractTestSuite#addTest(Test)
 60   
      * 
 61   
      * Note: This method is overriden from {@link AbstractTestSuite} because 
 62   
      * we do not want to create a binary dependency on end user classes
 63   
      * with {@link AbstractTestSuite}.
 64   
      */
 65  0
     public void addTest(Test theTest)
 66   
     {
 67  0
         super.addTest(theTest);
 68   
     }
 69   
 
 70   
     /**
 71   
      * @see AbstractTestSuite#addTestSuite(Class)
 72   
      * 
 73   
      * Note: This method is overriden from {@link AbstractTestSuite} because 
 74   
      * we do not want to create a binary dependency on end user classes
 75   
      * with {@link AbstractTestSuite}.
 76   
      */
 77  0
     public void addTestSuite(Class theTestClass)
 78   
     {
 79  0
         super.addTestSuite(theTestClass);
 80   
     }
 81   
     
 82   
     /**
 83   
      * @see AbstractTestSuite#createTestSuite(Class)
 84   
      */
 85  0
     protected Test createTestSuite(Class theTestClass)
 86   
     {
 87  0
         return new ServletTestSuite(theTestClass);
 88   
     }
 89   
 
 90   
     /**
 91   
      * @see AbstractTestSuite#createCactusTestCase(String, Test)
 92   
      */
 93  0
     protected Test createCactusTestCase(String theName, Test theTest)
 94   
     {
 95  0
         return new ServletTestCase(theName, theTest); 
 96   
     }
 97   
 }
 98