Home / Function/ testInvalidStreamIdentifierLength() — netty Function Reference

testInvalidStreamIdentifierLength() — netty Function Reference

Architecture documentation for the testInvalidStreamIdentifierLength() function in SnappyFrameDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b110c193_3211_c5e3_34a1_aac41cbab966["testInvalidStreamIdentifierLength()"]
  8017c2dc_c3bf_3f79_0edd_8dd86487179d["SnappyFrameDecoderTest"]
  b110c193_3211_c5e3_34a1_aac41cbab966 -->|defined in| 8017c2dc_c3bf_3f79_0edd_8dd86487179d
  style b110c193_3211_c5e3_34a1_aac41cbab966 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyFrameDecoderTest.java lines 59–71

    @Test
    public void testInvalidStreamIdentifierLength() {
        final ByteBuf in = Unpooled.wrappedBuffer(new byte[] {
            -0x80, 0x05, 0x00, 0x00, 'n', 'e', 't', 't', 'y'
        });

        assertThrows(DecompressionException.class, new Executable() {
            @Override
            public void execute() {
                channel.writeInbound(in);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free