|
||||||||||
| 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.block.BlockDiskCacheConcurrentUnitTest
public class BlockDiskCacheConcurrentUnitTest
Test which exercises the block disk cache. This one uses three different regions for three threads.
| Constructor Summary | |
|---|---|
BlockDiskCacheConcurrentUnitTest(String testName)
Constructor for the TestDiskCache object. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Main method passes this test to the text test runner. |
void |
runTestForRegion(String region)
Adds items to cache, gets them, and removes them. |
void |
runTestForRegionInRange(String region,
int start,
int end)
Adds items to cache, gets them, and removes them. |
void |
setUp()
Test setup |
static junit.framework.Test |
suite()
A unit test suite for JUnit |
| 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 BlockDiskCacheConcurrentUnitTest(String testName)
throws Exception
testName -
Exception| Method Detail |
|---|
public static void main(String[] args)
args -
public static junit.framework.Test suite()
throws Exception
Exceptionpublic void setUp()
setUp in class junit.framework.TestCase
public void runTestForRegion(String region)
throws Exception
region - Name of the region to access
Exception - If an error occurs
public void runTestForRegionInRange(String region,
int start,
int end)
throws Exception
region - Name of the region to accessstart - end -
Exception - If an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||