Home / Function/ testGoAwayFrameIdNonRequestStream() — netty Function Reference

testGoAwayFrameIdNonRequestStream() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java lines 159–172

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

Domain

Subdomains

Frequently Asked Questions

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