testSingleFrameDecoding() — netty Function Reference
Architecture documentation for the testSingleFrameDecoding() function in StompSubframeDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 16f03c81_325a_a693_49e3_20d5044f1b9c["testSingleFrameDecoding()"] f11558ca_762b_56f8_ed96_df83259d279f["StompSubframeDecoderTest"] 16f03c81_325a_a693_49e3_20d5044f1b9c -->|defined in| f11558ca_762b_56f8_ed96_df83259d279f style 16f03c81_325a_a693_49e3_20d5044f1b9c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java lines 48–64
@Test
public void testSingleFrameDecoding() {
ByteBuf incoming = Unpooled.buffer();
incoming.writeBytes(StompTestConstants.CONNECT_FRAME.getBytes());
channel.writeInbound(incoming);
StompHeadersSubframe frame = channel.readInbound();
assertNotNull(frame);
assertEquals(StompCommand.CONNECT, frame.command());
StompContentSubframe content = channel.readInbound();
assertSame(LastStompContentSubframe.EMPTY_LAST_CONTENT, content);
content.release();
Object o = channel.readInbound();
assertNull(o);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSingleFrameDecoding() do?
testSingleFrameDecoding() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java.
Where is testSingleFrameDecoding() defined?
testSingleFrameDecoding() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java at line 48.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free