testMultipleFramesDecoding() — netty Function Reference
Architecture documentation for the testMultipleFramesDecoding() function in StompSubframeAggregatorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 17e3b3b0_9b2c_341d_f516_3a3f2198119b["testMultipleFramesDecoding()"] 515cb9ca_06ef_9a6b_e66b_7e043c0973ff["StompSubframeAggregatorTest"] 17e3b3b0_9b2c_341d_f516_3a3f2198119b -->|defined in| 515cb9ca_06ef_9a6b_e66b_7e043c0973ff style 17e3b3b0_9b2c_341d_f516_3a3f2198119b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java lines 124–145
@Test
public void testMultipleFramesDecoding() {
ByteBuf incoming = Unpooled.buffer();
incoming.writeBytes(StompTestConstants.CONNECT_FRAME.getBytes());
incoming.writeBytes(StompTestConstants.CONNECTED_FRAME.getBytes());
channel.writeInbound(incoming);
channel.writeInbound(Unpooled.wrappedBuffer(StompTestConstants.SEND_FRAME_1.getBytes()));
StompFrame frame = channel.readInbound();
assertEquals(StompCommand.CONNECT, frame.command());
frame.release();
frame = channel.readInbound();
assertEquals(StompCommand.CONNECTED, frame.command());
frame.release();
frame = channel.readInbound();
assertEquals(StompCommand.SEND, frame.command());
frame.release();
assertNull(channel.readInbound());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testMultipleFramesDecoding() do?
testMultipleFramesDecoding() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java.
Where is testMultipleFramesDecoding() defined?
testMultipleFramesDecoding() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java at line 124.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free