Clover coverage report - Cactus 1.4b1 for J2EE API 12
Coverage timestamp: Mon Jul 29 2002 00:33:16 BST
file stats: LOC: 78   Methods: 3
NCLOC: 21   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ServiceEnumeration.java - 0% 0% 0%
 1   
 /*   Generated by AspectJ version 1.0.5 */
 2   
 package org.apache.cactus;
 3   
 /** 
 4   
  * List of valid services that the <code>ServletTestRedirector</code> can 
 5   
  * perform. 
 6   
  * 
 7   
  * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 8   
  * 
 9   
  * @version $Id: ServiceEnumeration.java,v 1.1 2002/03/01 00:43:45 vmassol Exp $ 
 10   
  */
 11   
 public class ServiceEnumeration {
 12   
   /** 
 13   
        * Call test method Service. 
 14   
        */
 15   
   public static ServiceEnumeration CALL_TEST_SERVICE;
 16   
   /** 
 17   
        * Get the previous test results Service. 
 18   
        */
 19   
   public static ServiceEnumeration GET_RESULTS_SERVICE;
 20   
   /** 
 21   
        * Get the previous test results Service. 
 22   
        */
 23   
   public static ServiceEnumeration RUN_TEST_SERVICE;
 24   
   /** 
 25   
        * The service's name 
 26   
        */
 27   
   private String name;
 28   
   /** 
 29   
        * Private constructor so that only allowed enumeration can be created. 
 30   
        * 
 31   
        * @param theServiceName the name of the service 
 32   
        */
 33  0
   private ServiceEnumeration(String theServiceName) {
 34  0
     super();
 35  0
     this.name = theServiceName;
 36   
   } 
 37   
   /** 
 38   
        * Compares a string representing the name of the service with the Service 
 39   
        * enumerated type. 
 40   
        * 
 41   
        * @param theString the string to compare with this Service name 
 42   
        * @return true if the string corresponds to the current Service 
 43   
        */
 44  0
   public boolean equals(String theString) {
 45  0
     return theString.equals(this.name);
 46   
   } 
 47   
 
 48   
   /** 
 49   
        * @return the Service's name 
 50   
        */
 51  0
   public String toString() {
 52  0
     return this.name;
 53   
   } 
 54   
 
 55   
   /** 
 56   
    * List of valid services that the <code>ServletTestRedirector</code> can 
 57   
    * perform. 
 58   
    * 
 59   
    * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 60   
    * 
 61   
    * @version $Id: ServiceEnumeration.java,v 1.1 2002/03/01 00:43:45 vmassol Exp $ 
 62   
    */
 63   
   static {
 64   
     /** 
 65   
          * Call test method Service. 
 66   
          */
 67  0
     ServiceEnumeration.CALL_TEST_SERVICE = new ServiceEnumeration("CALL_TEST");
 68   
     /** 
 69   
          * Get the previous test results Service. 
 70   
          */
 71  0
     ServiceEnumeration.GET_RESULTS_SERVICE = new ServiceEnumeration("GET_RESULTS");
 72   
     /** 
 73   
          * Get the previous test results Service. 
 74   
          */
 75  0
     ServiceEnumeration.RUN_TEST_SERVICE = new ServiceEnumeration("RUN_TEST");
 76   
   } 
 77   
 
 78   
 }