Home / Function/ testWrappedReturnNull() — netty Function Reference

testWrappedReturnNull() — netty Function Reference

Architecture documentation for the testWrappedReturnNull() function in Http2DataChunkedInputTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4a7eda9a_b7c2_e2e7_3d7f_d893c08ebe42["testWrappedReturnNull()"]
  6f72fdc8_f771_7c4d_fd79_045f73e4ad34["Http2DataChunkedInputTest"]
  4a7eda9a_b7c2_e2e7_3d7f_d893c08ebe42 -->|defined in| 6f72fdc8_f771_7c4d_fd79_045f73e4ad34
  style 4a7eda9a_b7c2_e2e7_3d7f_d893c08ebe42 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2DataChunkedInputTest.java lines 96–131

    @Test
    public void testWrappedReturnNull() throws Exception {
        Http2DataChunkedInput input = new Http2DataChunkedInput(new ChunkedInput<ByteBuf>() {

            @Override
            public boolean isEndOfInput() throws Exception {
                return false;
            }

            @Override
            public void close() throws Exception {
                // NOOP
            }

            @Override
            public ByteBuf readChunk(ChannelHandlerContext ctx) throws Exception {
                return null;
            }

            @Override
            public ByteBuf readChunk(ByteBufAllocator allocator) throws Exception {
                return null;
            }

            @Override
            public long length() {
                return 0;
            }

            @Override
            public long progress() {
                return 0;
            }
        }, STREAM);
        assertNull(input.readChunk(ByteBufAllocator.DEFAULT));
    }

Domain

Subdomains

Frequently Asked Questions

What does testWrappedReturnNull() do?
testWrappedReturnNull() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2DataChunkedInputTest.java.
Where is testWrappedReturnNull() defined?
testWrappedReturnNull() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2DataChunkedInputTest.java at line 96.

Analyze Your Own Codebase

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

Try Supermodel Free