Home / Function/ testReadEmptyQueueReturnsEmptyBuffer() — netty Function Reference

testReadEmptyQueueReturnsEmptyBuffer() — netty Function Reference

Architecture documentation for the testReadEmptyQueueReturnsEmptyBuffer() function in CoalescingBufferQueueTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  949597bc_0c0c_01d2_122f_805d26c88510["testReadEmptyQueueReturnsEmptyBuffer()"]
  ccc522b2_7fa1_bc1b_d4b4_2b255b9936f9["CoalescingBufferQueueTest"]
  949597bc_0c0c_01d2_122f_805d26c88510 -->|defined in| ccc522b2_7fa1_bc1b_d4b4_2b255b9936f9
  f9a9510c_fde3_46f3_be9a_be659d967b32["assertQueueSize()"]
  949597bc_0c0c_01d2_122f_805d26c88510 -->|calls| f9a9510c_fde3_46f3_be9a_be659d967b32
  style 949597bc_0c0c_01d2_122f_805d26c88510 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/CoalescingBufferQueueTest.java lines 190–200

    @Test
    public void testReadEmptyQueueReturnsEmptyBuffer() {
        // Not used in this test.
        cat.release();
        mouse.release();

        assertQueueSize(0, true);
        ChannelPromise aggregatePromise = newPromise();
        assertEquals("", dequeue(Integer.MAX_VALUE, aggregatePromise));
        assertQueueSize(0, true);
    }

Domain

Subdomains

Frequently Asked Questions

What does testReadEmptyQueueReturnsEmptyBuffer() do?
testReadEmptyQueueReturnsEmptyBuffer() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/CoalescingBufferQueueTest.java.
Where is testReadEmptyQueueReturnsEmptyBuffer() defined?
testReadEmptyQueueReturnsEmptyBuffer() is defined in transport/src/test/java/io/netty/channel/CoalescingBufferQueueTest.java at line 190.
What does testReadEmptyQueueReturnsEmptyBuffer() call?
testReadEmptyQueueReturnsEmptyBuffer() calls 1 function(s): assertQueueSize.

Analyze Your Own Codebase

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

Try Supermodel Free