testAggregateWithFullRead() — netty Function Reference
Architecture documentation for the testAggregateWithFullRead() function in CoalescingBufferQueueTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 59fe854c_8942_1b2a_b828_90499dc58657["testAggregateWithFullRead()"] ccc522b2_7fa1_bc1b_d4b4_2b255b9936f9["CoalescingBufferQueueTest"] 59fe854c_8942_1b2a_b828_90499dc58657 -->|defined in| ccc522b2_7fa1_bc1b_d4b4_2b255b9936f9 f9a9510c_fde3_46f3_be9a_be659d967b32["assertQueueSize()"] 59fe854c_8942_1b2a_b828_90499dc58657 -->|calls| f9a9510c_fde3_46f3_be9a_be659d967b32 style 59fe854c_8942_1b2a_b828_90499dc58657 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/CoalescingBufferQueueTest.java lines 114–130
@Test
public void testAggregateWithFullRead() {
writeQueue.add(cat, catPromise);
assertQueueSize(3, false);
writeQueue.add(mouse, mouseListener);
assertQueueSize(8, false);
ChannelPromise aggregatePromise = newPromise();
assertEquals("catmouse", dequeue(8, aggregatePromise));
assertQueueSize(0, true);
assertFalse(catPromise.isSuccess());
assertFalse(mouseDone);
aggregatePromise.setSuccess();
assertTrue(catPromise.isSuccess());
assertTrue(mouseSuccess);
assertEquals(0, cat.refCnt());
assertEquals(0, mouse.refCnt());
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testAggregateWithFullRead() do?
testAggregateWithFullRead() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/CoalescingBufferQueueTest.java.
Where is testAggregateWithFullRead() defined?
testAggregateWithFullRead() is defined in transport/src/test/java/io/netty/channel/CoalescingBufferQueueTest.java at line 114.
What does testAggregateWithFullRead() call?
testAggregateWithFullRead() 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