Home / Function/ testPassesUnknownFrame() — netty Function Reference

testPassesUnknownFrame() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandlerTest.java lines 123–135

    @ParameterizedTest(name = "{index}: server = {0}")
    @MethodSource("data")
    public void testPassesUnknownFrame(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));

        writeValidFrame(channel, new DefaultHttp3UnknownFrame(Http3CodecUtils.MIN_RESERVED_FRAME_TYPE,
                Unpooled.buffer().writeLong(8)));

        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

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