|
||||||||||
| 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.lateral.socket.tcp.TestTCPLateralUnitTest
public class TestTCPLateralUnitTest
Basic unit tests for the sending and receiving portions of the lateral cache.
| Constructor Summary | |
|---|---|
TestTCPLateralUnitTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
Test setup |
void |
testGet_SendAndReceived()
Create a listener. |
void |
testGetGroupKeys_SendAndReceived()
Create a listener. |
void |
testGetGroupNames_SendAndReceived()
Create a listener. |
void |
testGetMatching_WithData()
Create a listener. |
void |
testReceive()
|
void |
testSameKeyDifferentObject()
Send objects with the same key but different values. |
void |
testSameKeyObjectDifferentValueObject()
Send objects with the same key but different values. |
void |
testSimpleSend()
Make sure we can send a bunch to the listener. |
| 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 TestTCPLateralUnitTest()
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void testSimpleSend()
throws Exception
Exception
public void testReceive()
throws Exception
Exception
public void testSameKeyDifferentObject()
throws Exception
Exception
public void testSameKeyObjectDifferentValueObject()
throws Exception
Exception
public void testGet_SendAndReceived()
throws Exception
Exception
public void testGetGroupKeys_SendAndReceived()
throws Exception
Exception
public void testGetGroupNames_SendAndReceived()
throws Exception
Exception
public void testGetMatching_WithData()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||