Home / Function/ testMissingName() — netty Function Reference

testMissingName() — netty Function Reference

Architecture documentation for the testMissingName() function in SpdyHeaderBlockRawDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  38aae2e6_017d_a894_350e_01f19a01eaa9["testMissingName()"]
  9d24b120_0e9f_df39_05af_436eac53cd12["SpdyHeaderBlockRawDecoderTest"]
  38aae2e6_017d_a894_350e_01f19a01eaa9 -->|defined in| 9d24b120_0e9f_df39_05af_436eac53cd12
  style 38aae2e6_017d_a894_350e_01f19a01eaa9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java lines 148–160

    @Test
    public void testMissingName() throws Exception {
        ByteBuf headerBlock = Unpooled.buffer(8);
        headerBlock.writeInt(1);
        headerBlock.writeInt(4);
        decoder.decode(ByteBufAllocator.DEFAULT, headerBlock, frame);
        decoder.endHeaderBlock(frame);

        assertFalse(headerBlock.isReadable());
        assertTrue(frame.isInvalid());
        assertEquals(0, frame.headers().names().size());
        headerBlock.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testMissingName() do?
testMissingName() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java.
Where is testMissingName() defined?
testMissingName() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java at line 148.

Analyze Your Own Codebase

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

Try Supermodel Free