Home / Function/ testSingleFrameWithBodyAndNoContentLength() — netty Function Reference

testSingleFrameWithBodyAndNoContentLength() — netty Function Reference

Architecture documentation for the testSingleFrameWithBodyAndNoContentLength() function in StompSubframeAggregatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8c19dda8_0895_b05e_4cbb_1feb0353656a["testSingleFrameWithBodyAndNoContentLength()"]
  515cb9ca_06ef_9a6b_e66b_7e043c0973ff["StompSubframeAggregatorTest"]
  8c19dda8_0895_b05e_4cbb_1feb0353656a -->|defined in| 515cb9ca_06ef_9a6b_e66b_7e043c0973ff
  style 8c19dda8_0895_b05e_4cbb_1feb0353656a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java lines 75–88

    @Test
    public void testSingleFrameWithBodyAndNoContentLength() {
        ByteBuf incoming = Unpooled.buffer();
        incoming.writeBytes(StompTestConstants.SEND_FRAME_4.getBytes());
        channel.writeInbound(incoming);

        StompFrame frame = channel.readInbound();
        assertNotNull(frame);
        assertEquals(StompCommand.SEND, frame.command());
        assertEquals("body", frame.content().toString(CharsetUtil.UTF_8));
        frame.release();

        assertNull(channel.readInbound());
    }

Domain

Subdomains

Frequently Asked Questions

What does testSingleFrameWithBodyAndNoContentLength() do?
testSingleFrameWithBodyAndNoContentLength() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java.
Where is testSingleFrameWithBodyAndNoContentLength() defined?
testSingleFrameWithBodyAndNoContentLength() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java at line 75.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free