Home / Function/ testGoAwayIdDecreaseWorks() — netty Function Reference

testGoAwayIdDecreaseWorks() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java lines 73–90

    @ParameterizedTest(name = "{index}: server = {0}")
    @MethodSource("data")
    public void testGoAwayIdDecreaseWorks(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.
        EmbeddedChannel channel = newStream(newHandler(server));

        if (server) {
            writeValidFrame(channel, new DefaultHttp3GoAwayFrame(8));
            writeValidFrame(channel, new DefaultHttp3GoAwayFrame(4));
        } else {
            writeValidFrame(channel, new DefaultHttp3GoAwayFrame(9));
            writeValidFrame(channel, new DefaultHttp3GoAwayFrame(5));
        }

        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

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