Clover coverage report - Diasparsoft Toolkit - 0.22
Coverage timestamp: Tue Jun 8 2004 12:41:26 EDT
file stats: LOC: 25   Methods: 4
NCLOC: 17   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
FakeHttpSession.java - 0% 0% 0%
coverage
 1   
 package com.diasparsoftware.javax.servlet.http;
 2   
 
 3   
 import java.util.*;
 4   
 
 5   
 
 6   
 public class FakeHttpSession extends HttpSessionAdapter {
 7   
     private Map attributes;
 8   
 
 9  0
     public FakeHttpSession(Map attributes) {
 10  0
         this.attributes = attributes;
 11   
     }
 12   
     
 13  0
     public Object getAttribute(String name) {
 14  0
         return attributes.get(name);
 15   
     }
 16   
     
 17  0
     public Enumeration getAttributeNames() {
 18  0
         return new Vector(attributes.keySet()).elements();
 19   
     }
 20   
     
 21  0
     public void setAttribute(String name, Object value) {
 22  0
         attributes.put(name, value);
 23   
     }
 24   
 }
 25