testSingleFrameWithBodyWithoutContentLength() — netty Function Reference
Architecture documentation for the testSingleFrameWithBodyWithoutContentLength() function in StompSubframeDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 21a0dc19_f603_8697_338f_a69055a7d353["testSingleFrameWithBodyWithoutContentLength()"] f11558ca_762b_56f8_ed96_df83259d279f["StompSubframeDecoderTest"] 21a0dc19_f603_8697_338f_a69055a7d353 -->|defined in| f11558ca_762b_56f8_ed96_df83259d279f style 21a0dc19_f603_8697_338f_a69055a7d353 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java lines 85–102
@Test
public void testSingleFrameWithBodyWithoutContentLength() {
ByteBuf incoming = Unpooled.buffer();
incoming.writeBytes(StompTestConstants.SEND_FRAME_1.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 testSingleFrameWithBodyWithoutContentLength() do?
testSingleFrameWithBodyWithoutContentLength() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java.
Where is testSingleFrameWithBodyWithoutContentLength() defined?
testSingleFrameWithBodyWithoutContentLength() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java at line 85.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free