Home / Function/ testIncorrectSelectorsNumber() — netty Function Reference

testIncorrectSelectorsNumber() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java lines 149–161

    @Test
    public void testIncorrectSelectorsNumber() {
        final byte[] data = Arrays.copyOf(DATA, DATA.length);
        data[25] = 0x2F;

        final ByteBuf in = Unpooled.wrappedBuffer(data);
        assertThrows(DecompressionException.class, new Executable() {
            @Override
            public void execute() {
                channel.writeInbound(in);
            }
        }, "incorrect selectors number");
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free