Home / Function/ testStreamCrcError() — netty Function Reference

testStreamCrcError() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3379c942_1165_5976_785f_f5bd93722788["testStreamCrcError()"]
  53eb2ef4_6844_0384_3483_6c7a17c214e0["Bzip2DecoderTest"]
  3379c942_1165_5976_785f_f5bd93722788 -->|defined in| 53eb2ef4_6844_0384_3483_6c7a17c214e0
  style 3379c942_1165_5976_785f_f5bd93722788 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java lines 122–133

    @Test
    public void testStreamCrcError() {
        final byte[] data = Arrays.copyOf(DATA, DATA.length);
        data[41] = (byte) 0xDD;

        assertThrows(DecompressionException.class, new Executable() {
            @Override
            public void execute() {
                tryDecodeAndCatchBufLeaks(channel, Unpooled.wrappedBuffer(data));
            }
        }, "stream CRC error");
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free