| |
|
| com.opensymphony.oscache.base.TestCache
TestCache | public class TestCache extends TestCase (Code) | | Test the public methods of the Cache class
$Id: TestCache.java 385 2006-10-07 06:57:10Z larst $
version: $Revision: 385 $ author: Alain Bergevin |
TestCache | public TestCache(String str)(Code) | | Class constructor.
Parameters: str - The test name (required by JUnit) |
setUp | public void setUp()(Code) | | This method is invoked before each testXXXX methods of the
class. It set ups the variables required for each tests.
|
suite | public static Test suite()(Code) | | This methods returns the name of this test class to JUnit
The name of this class |
testBug174CacheMisses | public void testBug174CacheMisses(boolean block) throws Exception(Code) | | Tests that with a very large amount of keys accessed and cancelled, there is no memory leak
throws: Exception - |
testBug174CacheMissesBlocking | public void testBug174CacheMissesBlocking() throws Exception(Code) | | Tests that with a very large amount of keys accessed and cancelled, there is no memory leak
throws: Exception - |
testBug174CacheMissesNonBlocking | public void testBug174CacheMissesNonBlocking() throws Exception(Code) | | Tests that with a very large amount of keys accessed and cancelled, there is no memory leak
throws: Exception - |
testBug174CacheOverflow | public void testBug174CacheOverflow() throws Exception(Code) | | Tests that with a very large amount of keys that added and trigger cache overflows, there is no memory leak
throws: Exception - |
testBug174CacheOverflowAndUpdate | public void testBug174CacheOverflowAndUpdate() throws Exception(Code) | | Tests that with a very large amount of keys that added and trigger cache overflows, there is no memory leak
throws: Exception - |
testFlushPattern | public void testFlushPattern()(Code) | | Verify that items may still be flushed by key pattern
|
testPutGetFromCache | public void testPutGetFromCache()(Code) | | Verify that we can put item in the cache and that they are correctly retrieved
|
testPutGetFromCacheWithPolicy | public void testPutGetFromCacheWithPolicy()(Code) | | Verify that we can put item in the cache and that they are correctly retrieved
|
|
|
|