Home / Function/ testDecodeSettingsWithSameKey() — netty Function Reference

testDecodeSettingsWithSameKey() — netty Function Reference

Architecture documentation for the testDecodeSettingsWithSameKey() function in Http3FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  71dc186e_86e1_20d5_a28f_787eb5d3c199["testDecodeSettingsWithSameKey()"]
  5690f307_9248_ec29_2c84_6839dbcdc179["Http3FrameCodecTest"]
  71dc186e_86e1_20d5_a28f_787eb5d3c199 -->|defined in| 5690f307_9248_ec29_2c84_6839dbcdc179
  f172e438_95aa_794a_73ee_b2131dfe9d18["setUp()"]
  71dc186e_86e1_20d5_a28f_787eb5d3c199 -->|calls| f172e438_95aa_794a_73ee_b2131dfe9d18
  3496e374_4298_dede_43cf_385944c27d9b["testDecodeInvalidSettings()"]
  71dc186e_86e1_20d5_a28f_787eb5d3c199 -->|calls| 3496e374_4298_dede_43cf_385944c27d9b
  style 71dc186e_86e1_20d5_a28f_787eb5d3c199 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3FrameCodecTest.java lines 521–535

    @ParameterizedTest(name = "{index}: maxBlockedStreams = {0}, delayQpackStreams = {1}")
    @MethodSource("dataNoFragment")
    public void testDecodeSettingsWithSameKey(int maxBlockedStreams, boolean delayQpackStreams) throws Exception {
        setUp(maxBlockedStreams, delayQpackStreams);
        ByteBuf buffer = Unpooled.buffer();
        Http3CodecUtils.writeVariableLengthInteger(buffer, Http3CodecUtils.HTTP3_SETTINGS_FRAME_TYPE);
        Http3CodecUtils.writeVariableLengthInteger(buffer, 4);
        // Write the key and some random value... Both should be only 1 byte long each.
        Http3CodecUtils.writeVariableLengthInteger(buffer, Http3SettingsFrame.HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE);
        Http3CodecUtils.writeVariableLengthInteger(buffer, 1);
        Http3CodecUtils.writeVariableLengthInteger(buffer, Http3SettingsFrame.HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE);
        Http3CodecUtils.writeVariableLengthInteger(buffer, 1);

        testDecodeInvalidSettings(delayQpackStreams, buffer);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free