Home / Function/ testIllegalNameOnlyNull() — netty Function Reference

testIllegalNameOnlyNull() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java lines 162–176

    @Test
    public void testIllegalNameOnlyNull() throws Exception {
        ByteBuf headerBlock = Unpooled.buffer(18);
        headerBlock.writeInt(1);
        headerBlock.writeInt(1);
        headerBlock.writeByte(0);
        headerBlock.writeInt(5);
        headerBlock.writeBytes(valueBytes);
        decoder.decode(ByteBufAllocator.DEFAULT, headerBlock, frame);

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free