Home / Function/ testUncompressedDataAppendsToOut() — netty Function Reference

testUncompressedDataAppendsToOut() — netty Function Reference

Architecture documentation for the testUncompressedDataAppendsToOut() function in SnappyFrameDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1e464029_7564_73ba_e102_0f654622586a["testUncompressedDataAppendsToOut()"]
  8017c2dc_c3bf_3f79_0edd_8dd86487179d["SnappyFrameDecoderTest"]
  1e464029_7564_73ba_e102_0f654622586a -->|defined in| 8017c2dc_c3bf_3f79_0edd_8dd86487179d
  style 1e464029_7564_73ba_e102_0f654622586a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java lines 142–157

    @Test
    public void testUncompressedDataAppendsToOut() {
        ByteBuf in = Unpooled.wrappedBuffer(new byte[] {
           (byte) 0xff, 0x06, 0x00, 0x00, 0x73, 0x4e, 0x61, 0x50, 0x70, 0x59,
            0x01, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 'n', 'e', 't', 't', 'y'
        });

        assertTrue(channel.writeInbound(in));

        ByteBuf expected = Unpooled.wrappedBuffer(new byte[] { 'n', 'e', 't', 't', 'y' });
        ByteBuf actual = channel.readInbound();
        assertEquals(expected, actual);

        expected.release();
        actual.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testUncompressedDataAppendsToOut() do?
testUncompressedDataAppendsToOut() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java.
Where is testUncompressedDataAppendsToOut() defined?
testUncompressedDataAppendsToOut() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java at line 142.

Analyze Your Own Codebase

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

Try Supermodel Free