|
||||||||||
| 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.auxiliary.disk.indexed.IndexedDiskCacheRandomConcurrentTestUtil
public class IndexedDiskCacheRandomConcurrentTestUtil
This is used by other tests to generate a random load on the disk cache.
| Constructor Summary | |
|---|---|
IndexedDiskCacheRandomConcurrentTestUtil(String testName)
Constructor for the TestDiskCache object. |
|
| Method Summary | |
|---|---|
void |
runTestForRegion(String region,
int range,
int numOps,
int testNum)
Randomly adds items to cache, gets them, and removes them. |
void |
setUp()
Test setup |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 IndexedDiskCacheRandomConcurrentTestUtil(String testName)
testName - | Method Detail |
|---|
public void runTestForRegion(String region,
int range,
int numOps,
int testNum)
throws Exception
region - Name of the region to accessrange - numOps - testNum -
Exception - If an error occurspublic void setUp()
setUp in class junit.framework.TestCase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||