Home / Function/ testInvalidTypeOutbound() — netty Function Reference

testInvalidTypeOutbound() — netty Function Reference

Architecture documentation for the testInvalidTypeOutbound() function in AbstractHttp3FrameTypeValidationHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1e065c07_a748_7704_05ab_298e5e97c716["testInvalidTypeOutbound()"]
  31f14ae0_7748_87a0_a9e5_5f2bdd8e1c2e["AbstractHttp3FrameTypeValidationHandlerTest"]
  1e065c07_a748_7704_05ab_298e5e97c716 -->|defined in| 31f14ae0_7748_87a0_a9e5_5f2bdd8e1c2e
  66d22a34_2aa1_c0de_9f06_f8a33ee659e3["setUp()"]
  1e065c07_a748_7704_05ab_298e5e97c716 -->|calls| 66d22a34_2aa1_c0de_9f06_f8a33ee659e3
  af49657f_fa1b_8dcf_8ea3_07838f93e061["newInvalidFrames()"]
  1e065c07_a748_7704_05ab_298e5e97c716 -->|calls| af49657f_fa1b_8dcf_8ea3_07838f93e061
  style 1e065c07_a748_7704_05ab_298e5e97c716 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/AbstractHttp3FrameTypeValidationHandlerTest.java lines 148–163

    @ParameterizedTest(name = "{index}: server = {0}")
    @MethodSource("data")
    public void testInvalidTypeOutbound(boolean server) throws Exception {
        assumeTrue(isOutbound);
        setUp(server);
        final EmbeddedQuicStreamChannel channel = newStream(defaultStreamType, newHandler(server));

        List<Http3Frame> invalidFrames = newInvalidFrames();
        for (Http3Frame invalid : invalidFrames) {
            Exception e = assertThrows(Exception.class, () -> channel.writeOutbound(invalid));
            Http3TestUtils.assertException(Http3ErrorCode.H3_FRAME_UNEXPECTED, e);

            assertFrameReleased(invalid);
        }
        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

What does testInvalidTypeOutbound() do?
testInvalidTypeOutbound() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/AbstractHttp3FrameTypeValidationHandlerTest.java.
Where is testInvalidTypeOutbound() defined?
testInvalidTypeOutbound() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/AbstractHttp3FrameTypeValidationHandlerTest.java at line 148.
What does testInvalidTypeOutbound() call?
testInvalidTypeOutbound() calls 2 function(s): newInvalidFrames, setUp.

Analyze Your Own Codebase

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

Try Supermodel Free