Home / Function/ testMaxPushIdCanBeIncreased() — netty Function Reference

testMaxPushIdCanBeIncreased() — netty Function Reference

Architecture documentation for the testMaxPushIdCanBeIncreased() function in Http3ControlStreamOutboundHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  06da7ec0_96d6_60d0_4c10_8c3922089a59["testMaxPushIdCanBeIncreased()"]
  96e94d38_9bbf_f4b3_6ef3_a1a498a9ad08["Http3ControlStreamOutboundHandlerTest"]
  06da7ec0_96d6_60d0_4c10_8c3922089a59 -->|defined in| 96e94d38_9bbf_f4b3_6ef3_a1a498a9ad08
  c88d38df_6fe0_deaf_60d6_dd4e3e17393b["writeValidFrame()"]
  06da7ec0_96d6_60d0_4c10_8c3922089a59 -->|calls| c88d38df_6fe0_deaf_60d6_dd4e3e17393b
  style 06da7ec0_96d6_60d0_4c10_8c3922089a59 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java lines 151–165

    @ParameterizedTest(name = "{index}: server = {0}")
    @MethodSource("data")
    public void testMaxPushIdCanBeIncreased(boolean server) throws Exception {
        setUp(server);
        parent.close().get();
        // Let's mark the parent as inactive before we close as otherwise we will send a close frame.
        Http3ControlStreamOutboundHandler handler = newHandler(server);
        EmbeddedChannel channel = newStream(handler);

        writeValidFrame(channel, new DefaultHttp3MaxPushIdFrame(4));
        writeValidFrame(channel, new DefaultHttp3MaxPushIdFrame(8));
        assertEquals(Long.valueOf(8), handler.sentMaxPushId());

        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

What does testMaxPushIdCanBeIncreased() do?
testMaxPushIdCanBeIncreased() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java.
Where is testMaxPushIdCanBeIncreased() defined?
testMaxPushIdCanBeIncreased() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java at line 151.
What does testMaxPushIdCanBeIncreased() call?
testMaxPushIdCanBeIncreased() calls 1 function(s): writeValidFrame.

Analyze Your Own Codebase

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

Try Supermodel Free