|
||||||||||
| 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.server.RemoteCacheServerUnitTest
public class RemoteCacheServerUnitTest
Since the server does not know that it is a server, it is easy to unit test. The factory does all the rmi work.
| Constructor Summary | |
|---|---|
RemoteCacheServerUnitTest()
|
|
| Method Summary | |
|---|---|
void |
testAddListener_ToAll()
Add a listener. |
void |
testAddListener_ToAllThenRemove_clusterType()
Add a listener. |
void |
testAddListener_ToAllThenRemove()
Add a listener. |
void |
testAddListenerToCache_CLUSTERtype()
Add a listener. |
void |
testAddListenerToCache_LOCALtype()
Add a listener. |
void |
testGet_simple()
Verify event log calls. |
void |
testGetMatching_simple()
Verify event log calls. |
void |
testGetMultiple_simple()
Verify event log calls. |
void |
testRemove_simple()
Verify event log calls. |
void |
testRemoveAll_simple()
Verify event log calls. |
void |
testSimpleRegisterListenerAndPut_FromClusterWithLCC()
Register a listener and then verify that it is called when we put using a different listener id. |
void |
testSimpleRegisterListenerAndPut()
Register a listener and then verify that it is called when we put using a different listener id. |
void |
testSimpleRegisterListenerAndRemove()
Register a listener and then verify that it is called when we put using a different listener id. |
void |
testUpdate_simple()
Verify event log calls. |
| 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 RemoteCacheServerUnitTest()
| Method Detail |
|---|
public void testAddListenerToCache_LOCALtype()
throws Exception
Exception
public void testAddListenerToCache_CLUSTERtype()
throws Exception
Exception
public void testAddListener_ToAll()
throws Exception
Exception
public void testAddListener_ToAllThenRemove()
throws Exception
Exception
public void testAddListener_ToAllThenRemove_clusterType()
throws Exception
Exception
public void testSimpleRegisterListenerAndPut()
throws Exception
Exception
public void testSimpleRegisterListenerAndPut_FromClusterWithLCC()
throws Exception
Exception
public void testSimpleRegisterListenerAndRemove()
throws Exception
Exception
public void testUpdate_simple()
throws Exception
Exception
public void testGet_simple()
throws Exception
Exception
public void testGetMatching_simple()
throws Exception
Exception
public void testGetMultiple_simple()
throws Exception
Exception
public void testRemove_simple()
throws Exception
Exception
public void testRemoveAll_simple()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||