|
||||||||||
| 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.remote.RemoteCacheNoWaitUnitTest
public class RemoteCacheNoWaitUnitTest
Unit tests for the remote cache no wait. The no wait manages a queue on top of the client.
| Constructor Summary | |
|---|---|
RemoteCacheNoWaitUnitTest()
|
|
| Method Summary | |
|---|---|
void |
testFixCache()
Simply verify that the serviced supplied to fix is passed onto the client. |
void |
testGet()
Simply verify that the client get is called from the no wait. |
void |
testGetMultiple()
Simply verify that the client getMultiple is called from the no wait. |
void |
testGetStats()
Simply verify that the client status is returned in the stats. |
void |
testGetStatus_error()
Simply verify that we get a status of error if the cache is in error.. |
void |
testRemove()
Simply verify that the client gets updated via the no wait. |
void |
testUpdate()
Simply verify that the client gets updated via the no wait. |
| 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 RemoteCacheNoWaitUnitTest()
| Method Detail |
|---|
public void testUpdate()
throws Exception
Exception
public void testGet()
throws Exception
Exception
public void testGetMultiple()
throws Exception
Exception
public void testRemove()
throws Exception
Exception
public void testGetStats()
throws Exception
Exception
public void testGetStatus_error()
throws Exception
Exception
public void testFixCache()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||