Home / Function/ testBlockCrcError() — netty Function Reference

testBlockCrcError() — netty Function Reference

Architecture documentation for the testBlockCrcError() function in Bzip2DecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  95403a00_6bc1_88b0_7b58_a394b3d64227["testBlockCrcError()"]
  53eb2ef4_6844_0384_3483_6c7a17c214e0["Bzip2DecoderTest"]
  95403a00_6bc1_88b0_7b58_a394b3d64227 -->|defined in| 53eb2ef4_6844_0384_3483_6c7a17c214e0
  dcecdd6e_d887_ea2f_883f_18b973e0a770["writeInboundDestroyAndExpectDecompressionException()"]
  95403a00_6bc1_88b0_7b58_a394b3d64227 -->|calls| dcecdd6e_d887_ea2f_883f_18b973e0a770
  style 95403a00_6bc1_88b0_7b58_a394b3d64227 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java lines 163–175

    @Test
    public void testBlockCrcError() {
        final byte[] data = Arrays.copyOf(DATA, DATA.length);
        data[11] = 0x77;

        final ByteBuf in = Unpooled.wrappedBuffer(data);
        assertThrows(DecompressionException.class, new Executable() {
            @Override
            public void execute() {
                writeInboundDestroyAndExpectDecompressionException(in);
            }
        }, "block CRC error");
    }

Domain

Subdomains

Frequently Asked Questions

What does testBlockCrcError() do?
testBlockCrcError() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java.
Where is testBlockCrcError() defined?
testBlockCrcError() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java at line 163.
What does testBlockCrcError() call?
testBlockCrcError() calls 1 function(s): writeInboundDestroyAndExpectDecompressionException.

Analyze Your Own Codebase

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

Try Supermodel Free