Home / Function/ testGetEntry() — netty Function Reference

testGetEntry() — netty Function Reference

Architecture documentation for the testGetEntry() function in HpackDynamicTableTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  dbc0b23c_39f7_a337_6484_d97712e263f5["testGetEntry()"]
  66c73598_e36b_e60b_26d1_60dc29c9b823["HpackDynamicTableTest"]
  dbc0b23c_39f7_a337_6484_d97712e263f5 -->|defined in| 66c73598_e36b_e60b_26d1_60dc29c9b823
  style dbc0b23c_39f7_a337_6484_d97712e263f5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDynamicTableTest.java lines 54–68

    @Test
    public void testGetEntry() {
        final HpackDynamicTable table = new HpackDynamicTable(100);
        HpackHeaderField entry = new HpackHeaderField(FOO, BAR);
        table.add(entry);
        assertEquals(entry, table.getEntry(1));
        table.clear();

        assertThrows(IndexOutOfBoundsException.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                table.getEntry(1);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free