Home / Function/ testDecompression() — netty Function Reference

testDecompression() — netty Function Reference

Architecture documentation for the testDecompression() function in AbstractDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2f5e8b12_4d9b_76ae_7db3_82922b79cd9f["testDecompression()"]
  25e203a2_01b9_37bc_50d7_94995af16578["AbstractDecoderTest"]
  2f5e8b12_4d9b_76ae_7db3_82922b79cd9f -->|defined in| 25e203a2_01b9_37bc_50d7_94995af16578
  0681e59b_dc21_17bf_0f58_2e140e0f5693["testDecompressionOfSmallChunkOfData()"]
  0681e59b_dc21_17bf_0f58_2e140e0f5693 -->|calls| 2f5e8b12_4d9b_76ae_7db3_82922b79cd9f
  0ee28aff_3d0d_990e_5746_11fb87c5ca4b["testDecompressionOfLargeChunkOfData()"]
  0ee28aff_3d0d_990e_5746_11fb87c5ca4b -->|calls| 2f5e8b12_4d9b_76ae_7db3_82922b79cd9f
  style 2f5e8b12_4d9b_76ae_7db3_82922b79cd9f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractDecoderTest.java lines 101–108

    protected void testDecompression(final ByteBuf expected, final ByteBuf data) throws Exception {
        assertTrue(channel.writeInbound(data));

        ByteBuf decompressed = readDecompressed(channel);
        assertEquals(expected, decompressed);

        decompressed.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testDecompression() do?
testDecompression() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractDecoderTest.java.
Where is testDecompression() defined?
testDecompression() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractDecoderTest.java at line 101.
What calls testDecompression()?
testDecompression() is called by 2 function(s): testDecompressionOfLargeChunkOfData, testDecompressionOfSmallChunkOfData.

Analyze Your Own Codebase

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

Try Supermodel Free