Home / Function/ testStartPointerInvalid() — netty Function Reference

testStartPointerInvalid() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java lines 177–189

    @Test
    public void testStartPointerInvalid() {
        final byte[] data = Arrays.copyOf(DATA, DATA.length);
        data[14] = (byte) 0xFF;

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

Domain

Subdomains

Frequently Asked Questions

What does testStartPointerInvalid() do?
testStartPointerInvalid() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java.
Where is testStartPointerInvalid() defined?
testStartPointerInvalid() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java at line 177.
What does testStartPointerInvalid() call?
testStartPointerInvalid() 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