Clover coverage report -
Coverage timestamp: Wed Jan 31 2007 15:38:53 EST
file stats: LOC: 103   Methods: 14
NCLOC: 73   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
StateTransferCompatibilityTest.java - 92.9% 92.9% 92.9%
coverage coverage
 1    package org.jboss.cache.statetransfer;
 2   
 3    public class StateTransferCompatibilityTest extends StateTransferTestBase
 4    {
 5   
 6  24 protected String getReplicationVersion()
 7    {
 8  24 return "2.0.0.GA";
 9    }
 10   
 11   
 12    /**
 13    * These tests ensure that http://jira.jboss.com/jira/browse/JBCACHE-738
 14    * compatibility between non-delegating cacheloaders is maintained. In the tests
 15    * below first cacheloader parameter is the state producer and the second cacheloader
 16    * parameter is the state receiver. By having each cacheloader be a state receiver
 17    * and a state producer we ensure complete cacheloader compatibility.
 18    */
 19  1 public void testCompatibilityBetweenFileAndJbdmCacheLoaders() throws Exception
 20    {
 21  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.FileCacheLoader",
 22    "org.jboss.cache.loader.jdbm.JdbmCacheLoader", false);
 23    }
 24   
 25  1 public void testCompatibilityBetweenFileAndJDBCCacheLoaders() throws Exception
 26    {
 27  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.FileCacheLoader",
 28    "org.jboss.cache.loader.JDBCCacheLoader", false);
 29    }
 30   
 31  1 public void testCompatibilityBetweenFileAndBdbjeCacheLoaders() throws Exception
 32    {
 33   
 34  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.FileCacheLoader",
 35    "org.jboss.cache.loader.bdbje.BdbjeCacheLoader", false);
 36    }
 37   
 38  1 public void testCompatibilityBetweenJbdmAndJDBCCacheLoaders() throws Exception
 39    {
 40  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.jdbm.JdbmCacheLoader",
 41    "org.jboss.cache.loader.JDBCCacheLoader", false);
 42    }
 43   
 44  1 public void testCompatibilityBetweenJbdmAndBdbjeCacheLoaders() throws Exception
 45    {
 46  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.jdbm.JdbmCacheLoader",
 47    "org.jboss.cache.loader.bdbje.BdbjeCacheLoader", false);
 48    }
 49   
 50  1 public void testCompatibilityBetweenJbdmAndFileCacheLoaders() throws Exception
 51    {
 52  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.jdbm.JdbmCacheLoader",
 53    "org.jboss.cache.loader.FileCacheLoader", false);
 54    }
 55   
 56  1 public void testCompatibilityBetweenJDBCAndBdjeCacheLoaders() throws Exception
 57    {
 58   
 59  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.JDBCCacheLoader",
 60    "org.jboss.cache.loader.bdbje.BdbjeCacheLoader", false);
 61    }
 62   
 63  1 public void testCompatibilityBetweenJDBCAndFileCacheLoaders() throws Exception
 64    {
 65   
 66  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.JDBCCacheLoader",
 67    "org.jboss.cache.loader.FileCacheLoader", false);
 68    }
 69   
 70  1 public void testCompatibilityBetweenJDBCAndJbdmCacheLoaders() throws Exception
 71    {
 72   
 73  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.JDBCCacheLoader",
 74    "org.jboss.cache.loader.jdbm.JdbmCacheLoader", false);
 75    }
 76   
 77  1 public void testCompatibilityBetweenBdbjeandJDBCCacheLoaders() throws Exception
 78    {
 79   
 80  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.bdbje.BdbjeCacheLoader",
 81    "org.jboss.cache.loader.JDBCCacheLoader", false);
 82    }
 83   
 84  1 public void testCompatibilityBetweenBdbjeandFileCacheLoaders() throws Exception
 85    {
 86   
 87  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.bdbje.BdbjeCacheLoader",
 88    "org.jboss.cache.loader.FileCacheLoader", false);
 89    }
 90   
 91  1 public void testCompatibilityBetweenBdbjeandJbdmCacheLoaders() throws Exception
 92    {
 93   
 94  1 initialStateTferWithLoaderTest("org.jboss.cache.loader.bdbje.BdbjeCacheLoader",
 95    "org.jboss.cache.loader.jdbm.JdbmCacheLoader", false);
 96    }
 97   
 98  0 protected void initialStateTferWithLoaderTest(boolean asyncLoader) throws Exception
 99    {
 100  0 initialStateTferWithLoaderTest("org.jboss.cache.loader.FileCacheLoader",
 101    "org.jboss.cache.loader.FileCacheLoader", asyncLoader);
 102    }
 103    }