File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
main/java/com/tvd12/ezyfoxserver/client/socket
test/java/com/tvd12/ezyfoxserver/client/testing/socket Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,7 @@ protected void startAdapters() {
8484
8585 @ Override
8686 public void setEventLoopGroup (EzyEventLoopGroup eventLoopGroup ) {
87- throw new UnsupportedOperationException (
88- "currently we haven't supported event loop group " +
89- "with tcp ssl socket yet"
90- );
87+ // "currently we haven't supported event loop group
88+ // with tcp ssl socket yet"
9189 }
9290}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public void writePacketToSocketTest() throws Exception {
2121 EzyPacket packet = mock (EzyPacket .class );
2222 byte [] data = RandomUtil .randomShortByteArray ();
2323 when (packet .getData ()).thenReturn (data );
24- when (packetQueue .peek ()).thenReturn (packet );
24+ when (packetQueue .peekNow ()).thenReturn (packet );
2525
2626 EzyTcpSslSocketWriter instance = new EzyTcpSslSocketWriter ();
2727 instance .setPacketQueue (packetQueue );
@@ -49,7 +49,7 @@ public void writePacketToSocketThrowExceptionTest() throws Exception {
4949 EzyPacket packet = mock (EzyPacket .class );
5050 byte [] data = RandomUtil .randomShortByteArray ();
5151 when (packet .getData ()).thenReturn (data );
52- when (packetQueue .peek ()).thenReturn (packet );
52+ when (packetQueue .peekNow ()).thenReturn (packet );
5353
5454 EzyTcpSslSocketWriter instance = new EzyTcpSslSocketWriter ();
5555 instance .setPacketQueue (packetQueue );
You can’t perform that action at this time.
0 commit comments