public class HeronServerTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
exception
JUnit rule for expected exception
|
Constructor and Description |
---|
HeronServerTest() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
void |
testClose()
Method: stop()
|
void |
testGetNIOLooper()
Method: getNIOLooper()
|
void |
testHandleAccept()
Method: handleAccept(SelectableChannel channel)
|
void |
testHandleConnect()
Method: handleConnect(SelectableChannel channel)
|
void |
testHandleError()
Method: handleError(SelectableChannel channel)
|
void |
testHandleRead()
Method: handleRead(SelectableChannel channel)
|
void |
testHandleWrite()
Method: handleWrite(SelectableChannel channel)
|
void |
testOnClose()
Method: onClose(SocketChannel channel)
|
void |
testOnConnect()
Method: onConnect(SocketChannel channel)
|
void |
testOnMessage()
Method: onMessage(SocketChannel channel, Message message)
|
void |
testOnRequest()
Method: onRequest(REQID rid, SocketChannel channel, Message request)
|
void |
testRegisterOnMessage()
Method: registerOnMessage(Message.Builder builder)
|
void |
testRegisterOnRequest()
Method: registerOnRequest(Message.Builder builder)
|
void |
testRegisterTimerEventInNanoSeconds()
Method: registerTimerEventInNanoSeconds(long timerInNanoSecnods, Runnable task)
|
void |
testRegisterTimerEventInSeconds()
Method: registerTimerEventInSeconds(long timerInSeconds, Runnable task)
|
void |
testSendMessage()
Method: sendMessage(SocketChannel channel, Message message)
|
void |
testSendResponse()
Method: sendResponse(REQID rid, SocketChannel channel, Message response)
|
void |
testStart()
Method: start()
|
public final org.junit.rules.ExpectedException exception
public void before() throws java.lang.Exception
java.lang.Exception
public void after() throws java.lang.Exception
java.lang.Exception
public void testRegisterOnMessage() throws java.lang.Exception
java.lang.Exception
public void testRegisterOnRequest() throws java.lang.Exception
java.lang.Exception
public void testStart() throws java.lang.Exception
java.lang.Exception
public void testClose() throws java.lang.Exception
java.lang.Exception
public void testHandleAccept() throws java.lang.Exception
java.lang.Exception
public void testHandleRead() throws java.lang.Exception
java.lang.Exception
public void testHandleWrite() throws java.lang.Exception
java.lang.Exception
public void testHandleConnect() throws java.lang.Exception
java.lang.Exception
public void testHandleError() throws java.lang.Exception
java.lang.Exception
public void testGetNIOLooper() throws java.lang.Exception
java.lang.Exception
public void testRegisterTimerEventInSeconds() throws java.lang.Exception
java.lang.Exception
public void testSendResponse() throws java.lang.Exception
java.lang.Exception
public void testSendMessage() throws java.lang.Exception
java.lang.Exception
public void testRegisterTimerEventInNanoSeconds() throws java.lang.Exception
java.lang.Exception
public void testOnConnect() throws java.lang.Exception
java.lang.Exception
public void testOnRequest() throws java.lang.Exception
java.lang.Exception
public void testOnMessage() throws java.lang.Exception
java.lang.Exception
public void testOnClose() throws java.lang.Exception
java.lang.Exception