Home / Function/ testSingleFrameChunked() — netty Function Reference

testSingleFrameChunked() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeAggregatorTest.java lines 108–122

    @Test
    public void testSingleFrameChunked() {
        EmbeddedChannel channel = new EmbeddedChannel(
                new StompSubframeDecoder(10000, 5), new StompSubframeAggregator(100000));
        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());
        frame.release();

        assertNull(channel.readInbound());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free