Home / Function/ testCopyOfCreatesDeepCopy() — netty Function Reference

testCopyOfCreatesDeepCopy() — netty Function Reference

Architecture documentation for the testCopyOfCreatesDeepCopy() function in DefaultHttp3SettingsFrameTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  36e23970_56c5_57c9_953a_dc4977a732ae["testCopyOfCreatesDeepCopy()"]
  7f96b856_e26b_5a86_c5be_2535fa398741["DefaultHttp3SettingsFrameTest"]
  36e23970_56c5_57c9_953a_dc4977a732ae -->|defined in| 7f96b856_e26b_5a86_c5be_2535fa398741
  style 36e23970_56c5_57c9_953a_dc4977a732ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/DefaultHttp3SettingsFrameTest.java lines 122–135

    @Test
    void testCopyOfCreatesDeepCopy() {
        DefaultHttp3SettingsFrame original = new DefaultHttp3SettingsFrame(
                new Http3Settings().qpackMaxTableCapacity(10).enableConnectProtocol(true));

        DefaultHttp3SettingsFrame copy = DefaultHttp3SettingsFrame.copyOf(original);

        assertNotSame(original, copy);
        assertEquals(original, copy);

        // Modify original and ensure copy remains unchanged
        original.put(Http3SettingIdentifier.HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS.id(), 5L);
        assertNotEquals(original, copy);
    }

Domain

Subdomains

Frequently Asked Questions

What does testCopyOfCreatesDeepCopy() do?
testCopyOfCreatesDeepCopy() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/DefaultHttp3SettingsFrameTest.java.
Where is testCopyOfCreatesDeepCopy() defined?
testCopyOfCreatesDeepCopy() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/DefaultHttp3SettingsFrameTest.java at line 122.

Analyze Your Own Codebase

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

Try Supermodel Free