testSingleFrameWithBodyAndContentLength() — netty Function Reference
Architecture documentation for the testSingleFrameWithBodyAndContentLength() function in StompSubframeDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5125112b_4c47_df28_c183_de32adf0ff5b["testSingleFrameWithBodyAndContentLength()"] f11558ca_762b_56f8_ed96_df83259d279f["StompSubframeDecoderTest"] 5125112b_4c47_df28_c183_de32adf0ff5b -->|defined in| f11558ca_762b_56f8_ed96_df83259d279f style 5125112b_4c47_df28_c183_de32adf0ff5b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java lines 66–83
@Test
public void testSingleFrameWithBodyAndContentLength() {
ByteBuf incoming = Unpooled.buffer();
incoming.writeBytes(StompTestConstants.SEND_FRAME_2.getBytes());
channel.writeInbound(incoming);
StompHeadersSubframe frame = channel.readInbound();
assertNotNull(frame);
assertEquals(StompCommand.SEND, frame.command());
StompContentSubframe content = channel.readInbound();
assertTrue(content instanceof LastStompContentSubframe);
String s = content.content().toString(UTF_8);
assertEquals("hello, queue a!!!", s);
content.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/StompSubframeDecoderTest.java.
Where is testSingleFrameWithBodyAndContentLength() defined?
testSingleFrameWithBodyAndContentLength() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java at line 66.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free