Home / Function/ testHttp3MaxPushIdFrames() — netty Function Reference

testHttp3MaxPushIdFrames() — netty Function Reference

Architecture documentation for the testHttp3MaxPushIdFrames() function in Http3ControlStreamInboundHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4ddfc9b0_11a4_1383_79c0_316c5abbe8f5["testHttp3MaxPushIdFrames()"]
  902435e9_3b03_3141_b560_3cdae4f30cb6["Http3ControlStreamInboundHandlerTest"]
  4ddfc9b0_11a4_1383_79c0_316c5abbe8f5 -->|defined in| 902435e9_3b03_3141_b560_3cdae4f30cb6
  e80acb1e_888a_ce0b_e1f2_1f018c18226b["setUp()"]
  4ddfc9b0_11a4_1383_79c0_316c5abbe8f5 -->|calls| e80acb1e_888a_ce0b_e1f2_1f018c18226b
  546e6143_8a55_dfb5_cac2_81725a9bb469["writeValidFrame()"]
  4ddfc9b0_11a4_1383_79c0_316c5abbe8f5 -->|calls| 546e6143_8a55_dfb5_cac2_81725a9bb469
  9ac00224_5b82_b7cd_536e_640ebd943996["writeInvalidFrame()"]
  4ddfc9b0_11a4_1383_79c0_316c5abbe8f5 -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996
  style 4ddfc9b0_11a4_1383_79c0_316c5abbe8f5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java lines 174–188

    @ParameterizedTest(name = "{index}: server = {0}, forwardControlFrames = {1}")
    @MethodSource("testData")
    public void testHttp3MaxPushIdFrames(boolean server, boolean forwardControlFrames) throws Exception {
        setUp(server);
        EmbeddedChannel channel = newStream(server, forwardControlFrames);
        if (server) {
            writeValidFrame(forwardControlFrames, channel, new DefaultHttp3MaxPushIdFrame(0));
            writeValidFrame(forwardControlFrames, channel, new DefaultHttp3MaxPushIdFrame(4));
        } else {
            writeInvalidFrame(forwardControlFrames, Http3ErrorCode.H3_FRAME_UNEXPECTED, channel,
                    new DefaultHttp3MaxPushIdFrame(4));
            verifyClose(Http3ErrorCode.H3_FRAME_UNEXPECTED, parent);
        }
        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

What does testHttp3MaxPushIdFrames() do?
testHttp3MaxPushIdFrames() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java.
Where is testHttp3MaxPushIdFrames() defined?
testHttp3MaxPushIdFrames() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java at line 174.
What does testHttp3MaxPushIdFrames() call?
testHttp3MaxPushIdFrames() calls 3 function(s): setUp, writeInvalidFrame, writeValidFrame.

Analyze Your Own Codebase

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

Try Supermodel Free