Home / Function/ assertQueueEmpty() — netty Function Reference

assertQueueEmpty() — netty Function Reference

Architecture documentation for the assertQueueEmpty() function in PendingWriteQueueTest.java from the netty codebase.

Function java Buffer Search called by 3

Entity Profile

Dependency Diagram

graph TD
  ae83f057_ec09_c91a_1fe2_4c222d04aff0["assertQueueEmpty()"]
  b4bff24e_be13_7693_4ece_a0ed5ee1a982["PendingWriteQueueTest"]
  ae83f057_ec09_c91a_1fe2_4c222d04aff0 -->|defined in| b4bff24e_be13_7693_4ece_a0ed5ee1a982
  670dbce5_6028_a7d3_d6ca_f69e7325a1c6["testRemoveAndWrite()"]
  670dbce5_6028_a7d3_d6ca_f69e7325a1c6 -->|calls| ae83f057_ec09_c91a_1fe2_4c222d04aff0
  79293561_9c85_fea7_f192_1bb0ea764534["testRemoveAndWriteAll()"]
  79293561_9c85_fea7_f192_1bb0ea764534 -->|calls| ae83f057_ec09_c91a_1fe2_4c222d04aff0
  275816aa_6afd_01a7_9e79_90ea6ef196d3["channelActive()"]
  275816aa_6afd_01a7_9e79_90ea6ef196d3 -->|calls| ae83f057_ec09_c91a_1fe2_4c222d04aff0
  style ae83f057_ec09_c91a_1fe2_4c222d04aff0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/PendingWriteQueueTest.java lines 168–175

    private static void assertQueueEmpty(PendingWriteQueue queue) {
        assertTrue(queue.isEmpty());
        assertEquals(0, queue.size());
        assertEquals(0, queue.bytes());
        assertNull(queue.current());
        assertNull(queue.removeAndWrite());
        assertNull(queue.removeAndWriteAll());
    }

Domain

Subdomains

Frequently Asked Questions

What does assertQueueEmpty() do?
assertQueueEmpty() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/PendingWriteQueueTest.java.
Where is assertQueueEmpty() defined?
assertQueueEmpty() is defined in transport/src/test/java/io/netty/channel/PendingWriteQueueTest.java at line 168.
What calls assertQueueEmpty()?
assertQueueEmpty() is called by 3 function(s): channelActive, testRemoveAndWrite, testRemoveAndWriteAll.

Analyze Your Own Codebase

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

Try Supermodel Free