Home / Function/ testSecondGoAwayFrameFailsWithHigherId() — netty Function Reference

testSecondGoAwayFrameFailsWithHigherId() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java lines 148–157

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

Domain

Subdomains

Frequently Asked Questions

What does testSecondGoAwayFrameFailsWithHigherId() do?
testSecondGoAwayFrameFailsWithHigherId() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java.
Where is testSecondGoAwayFrameFailsWithHigherId() defined?
testSecondGoAwayFrameFailsWithHigherId() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java at line 148.
What does testSecondGoAwayFrameFailsWithHigherId() call?
testSecondGoAwayFrameFailsWithHigherId() 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