Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 40   Methods: 5
NCLOC: 25   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
DummyEvictionPolicy.java - 0% 40% 25%
coverage coverage
 1    package org.jboss.cache.eviction;
 2   
 3    import org.jboss.cache.CacheSPI;
 4    import org.jboss.cache.Fqn;
 5    import org.jboss.cache.config.EvictionPolicyConfig;
 6   
 7    /**
 8    * @author Ben Feb 13, 2004
 9    */
 10    public class DummyEvictionPolicy extends BaseEvictionPolicy
 11    {
 12  10094 public void evict(Fqn fqn) throws Exception
 13    {
 14    // no-op
 15    // throw new RuntimeException("Testing only");
 16    }
 17   
 18  0 public int getWakeupIntervalSeconds()
 19    {
 20  0 return 0; //To change body of implemented methods use File | Settings | File Templates.
 21    }
 22   
 23  90 public void setCache(CacheSPI cache)
 24    {
 25    // no op
 26    }
 27   
 28  0 public EvictionAlgorithm getEvictionAlgorithm()
 29    {
 30    // no op
 31  0 return null;
 32    }
 33   
 34  0 public Class<? extends EvictionPolicyConfig> getEvictionConfigurationClass()
 35    {
 36  0 return null;
 37    }
 38   
 39   
 40    }