Home / Function/ testDiscardUnknownEmptyFrame() — netty Function Reference

testDiscardUnknownEmptyFrame() — netty Function Reference

Architecture documentation for the testDiscardUnknownEmptyFrame() function in SpdyFrameDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  40317a98_b559_dc7f_3d2b_ec90287174b4["testDiscardUnknownEmptyFrame()"]
  694e7f21_2c70_1029_2eab_f7afcf7a1d96["SpdyFrameDecoderTest"]
  40317a98_b559_dc7f_3d2b_ec90287174b4 -->|defined in| 694e7f21_2c70_1029_2eab_f7afcf7a1d96
  22716287_5b34_da1d_c8e3_c9777b358484["encodeControlFrameHeader()"]
  40317a98_b559_dc7f_3d2b_ec90287174b4 -->|calls| 22716287_5b34_da1d_c8e3_c9777b358484
  style 40317a98_b559_dc7f_3d2b_ec90287174b4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java lines 849–862

    @Test
    public void testDiscardUnknownEmptyFrame() throws Exception {
        short type = 5;
        byte flags = (byte) 0xFF;
        int length = 0;

        ByteBuf buf = Unpooled.buffer(SPDY_HEADER_SIZE + length);
        encodeControlFrameHeader(buf, type, flags, length);

        decoder.decode(buf);
        verifyNoInteractions(delegate);
        assertFalse(buf.isReadable());
        buf.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testDiscardUnknownEmptyFrame() do?
testDiscardUnknownEmptyFrame() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java.
Where is testDiscardUnknownEmptyFrame() defined?
testDiscardUnknownEmptyFrame() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyFrameDecoderTest.java at line 849.
What does testDiscardUnknownEmptyFrame() call?
testDiscardUnknownEmptyFrame() calls 1 function(s): encodeControlFrameHeader.

Analyze Your Own Codebase

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

Try Supermodel Free