|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.jcs.engine.control.CompositeCacheUnitTest
public class CompositeCacheUnitTest
Tests that directly engage the composite cache.
| Constructor Summary | |
|---|---|
CompositeCacheUnitTest()
|
|
| Method Summary | |
|---|---|
void |
testGetMatching_Normal()
Verify we can get some matching elements.. |
void |
testGetMatching_NotOnDisk()
Verify we try a disk aux on a getMatching call. |
void |
testGetMatching_NotOnRemote()
Verify we try a remote aux on a getMatching call. |
void |
testShutdownMemoryFlush_noDisk()
Verify that the freeMemoryElements method on the memory cache is NOT called on shutdown if there is NOT a disk cache. |
void |
testShutdownMemoryFlush()
Verify that the freeMemoryElements method on the memory cache is called on shutdown if there is a disk cache. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeCacheUnitTest()
| Method Detail |
|---|
public void testShutdownMemoryFlush()
throws IOException
IOException
public void testShutdownMemoryFlush_noDisk()
throws IOException
IOException
public void testGetMatching_Normal()
throws IOException
IOException
public void testGetMatching_NotOnDisk()
throws IOException
IOException
public void testGetMatching_NotOnRemote()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||