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