Home / Function/ testDecodeULE128LongOverflow1() — netty Function Reference

testDecodeULE128LongOverflow1() — netty Function Reference

Architecture documentation for the testDecodeULE128LongOverflow1() function in HpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0b13b338_7159_302e_da1a_1aae685fb5db["testDecodeULE128LongOverflow1()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  0b13b338_7159_302e_da1a_1aae685fb5db -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  style 0b13b338_7159_302e_da1a_1aae685fb5db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 149–166

    @Test
    public void testDecodeULE128LongOverflow1() throws Http2Exception {
        byte[] input = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                        (byte) 0xFF, (byte) 0xFF};
        final ByteBuf in = Unpooled.wrappedBuffer(input);
        final int readerIndex = in.readerIndex();
        try {
            assertThrows(Http2Exception.class, new Executable() {
                @Override
                public void execute() throws Throwable {
                    decodeULE128(in, 0L);
                }
            });
        } finally {
            assertEquals(readerIndex, in.readerIndex());
            in.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free