|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--com.resilientedge.jockey.peerbridge.ZSimpSockConnectorTest
Main entry point for the peerbridge subsystem.
Constructor Summary | |
ZSimpSockConnectorTest()
Constructor for the ZSimpSockConnectorTest object |
|
ZSimpSockConnectorTest(java.lang.String name)
Default constructor |
Method Summary | |
Response |
doCall(Request req)
Handle a request |
void |
doVoidCall(Request req)
Handle a request which won't receive a response. |
java.lang.String |
getRequesteeName()
Return the name by which this listener can be identified. |
static void |
main(java.lang.String[] args)
Description of the Method |
protected void |
real_setUp()
The JUnit setup method |
protected void |
real_tearDown()
The teardown method for JUnit |
protected void |
setUp()
The JUnit setup method |
protected void |
tearDown()
The teardown method for JUnit |
void |
testDualClient()
Tests a couple of clients connecting to the server. |
void |
testZZZ()
Tests a single client connection to the server. |
void |
XtestMultiClient()
Tests many clients connecting to the server. |
void |
XtestSingleClient()
Tests a single client connection to the server. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ZSimpSockConnectorTest(java.lang.String name)
name
- the name of the test casepublic ZSimpSockConnectorTest()
Method Detail |
public void XtestSingleClient() throws java.lang.Exception
public void testDualClient() throws java.lang.Exception
public void XtestMultiClient()
public void testZZZ()
public java.lang.String getRequesteeName()
getRequesteeName
in interface SimpSockRequestListener
public Response doCall(Request req)
doCall
in interface SimpSockRequestListener
req
- the request to handlepublic void doVoidCall(Request req)
doVoidCall
in interface SimpSockRequestListener
req
- the request to handleprotected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
protected void real_setUp()
protected void real_tearDown()
public static void main(java.lang.String[] args)
args
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |