Home / Function/ testAddContentEmptyBuffer() — netty Function Reference

testAddContentEmptyBuffer() — netty Function Reference

Architecture documentation for the testAddContentEmptyBuffer() function in HttpDataTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a73cd822_b07f_b852_bb94_a2020ab13439["testAddContentEmptyBuffer()"]
  4a611c3b_ba31_9595_a764_a84839920b31["HttpDataTest"]
  a73cd822_b07f_b852_bb94_a2020ab13439 -->|defined in| 4a611c3b_ba31_9595_a764_a84839920b31
  style a73cd822_b07f_b852_bb94_a2020ab13439 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpDataTest.java lines 65–70

    @ParameterizedHttpDataTest
    void testAddContentEmptyBuffer(HttpData httpData) throws IOException {
        ByteBuf content = PooledByteBufAllocator.DEFAULT.buffer();
        httpData.addContent(content, false);
        assertThat(content.refCnt()).isEqualTo(0);
    }

Domain

Subdomains

Frequently Asked Questions

What does testAddContentEmptyBuffer() do?
testAddContentEmptyBuffer() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpDataTest.java.
Where is testAddContentEmptyBuffer() defined?
testAddContentEmptyBuffer() is defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpDataTest.java at line 65.

Analyze Your Own Codebase

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

Try Supermodel Free