Home / Function/ assertEmptyQueue() — netty Function Reference

assertEmptyQueue() — netty Function Reference

Architecture documentation for the assertEmptyQueue() function in DefaultPriorityQueueTest.java from the netty codebase.

Function java Buffer Search called by 7

Entity Profile

Dependency Diagram

graph TD
  4e25103c_6e8f_a58b_a07c_3ee0c1c46f88["assertEmptyQueue()"]
  23b282eb_d0ea_c3c7_a597_7a1f2dd6296d["DefaultPriorityQueueTest"]
  4e25103c_6e8f_a58b_a07c_3ee0c1c46f88 -->|defined in| 23b282eb_d0ea_c3c7_a597_7a1f2dd6296d
  e9b3729d_4b27_d613_c002_bba04978f085["testPoll()"]
  e9b3729d_4b27_d613_c002_bba04978f085 -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  adec7dac_294c_77a4_cf48_5346f87a5c7a["testClear()"]
  adec7dac_294c_77a4_cf48_5346f87a5c7a -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  0fe32ac5_dffb_decf_3750_7b925e3b2e9e["testClearIgnoringIndexes()"]
  0fe32ac5_dffb_decf_3750_7b925e3b2e9e -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  4fcd3ead_e95f_552e_4a05_6362b3c18cbc["testRemovalFuzz()"]
  4fcd3ead_e95f_552e_4a05_6362b3c18cbc -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  d54705d3_ed7f_0c6d_4a79_bc857be2e3d3["testRemoval()"]
  d54705d3_ed7f_0c6d_4a79_bc857be2e3d3 -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  1f650c26_68ff_16ff_5e1d_2d6bf301d564["testZeroInitialSize()"]
  1f650c26_68ff_16ff_5e1d_2d6bf301d564 -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  03f598b9_ee01_5cf4_fe7e_426e25a69a06["testPriorityChange()"]
  03f598b9_ee01_5cf4_fe7e_426e25a69a06 -->|calls| 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88
  style 4e25103c_6e8f_a58b_a07c_3ee0c1c46f88 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/DefaultPriorityQueueTest.java lines 303–308

    private static void assertEmptyQueue(PriorityQueue<TestElement> queue) {
        assertNull(queue.peek());
        assertNull(queue.poll());
        assertEquals(0, queue.size());
        assertTrue(queue.isEmpty());
    }

Domain

Subdomains

Frequently Asked Questions

What does assertEmptyQueue() do?
assertEmptyQueue() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/DefaultPriorityQueueTest.java.
Where is assertEmptyQueue() defined?
assertEmptyQueue() is defined in common/src/test/java/io/netty/util/internal/DefaultPriorityQueueTest.java at line 303.
What calls assertEmptyQueue()?
assertEmptyQueue() is called by 7 function(s): testClear, testClearIgnoringIndexes, testPoll, testPriorityChange, testRemoval, testRemovalFuzz, testZeroInitialSize.

Analyze Your Own Codebase

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

Try Supermodel Free