bytesDistributedShouldBeCorrectWithLeafStreamClose() — netty Function Reference
Architecture documentation for the bytesDistributedShouldBeCorrectWithLeafStreamClose() function in WeightedFairQueueByteDistributorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bb89bd00_681b_ba12_0c66_bf737da14cfd["bytesDistributedShouldBeCorrectWithLeafStreamClose()"] 67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"] bb89bd00_681b_ba12_0c66_bf737da14cfd -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8 11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"] bb89bd00_681b_ba12_0c66_bf737da14cfd -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9 fa4d7172_24a5_f6ad_635f_9c2cba8fd926["captureWrites()"] bb89bd00_681b_ba12_0c66_bf737da14cfd -->|calls| fa4d7172_24a5_f6ad_635f_9c2cba8fd926 290143c2_0468_a100_788a_18d9e37200a9["verifyNeverWrite()"] bb89bd00_681b_ba12_0c66_bf737da14cfd -->|calls| 290143c2_0468_a100_788a_18d9e37200a9 7bda6a25_cd2a_2145_1a6b_a3c3169cec22["verifyWrite()"] bb89bd00_681b_ba12_0c66_bf737da14cfd -->|calls| 7bda6a25_cd2a_2145_1a6b_a3c3169cec22 style bb89bd00_681b_ba12_0c66_bf737da14cfd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 886–906
@Test
public void bytesDistributedShouldBeCorrectWithLeafStreamClose() throws Http2Exception {
initState(STREAM_A, 400, true);
initState(STREAM_B, 500, true);
initState(STREAM_C, 600, true);
initState(STREAM_D, 700, true);
stream(STREAM_C).close();
assertTrue(write(900));
assertEquals(400, captureWrites(STREAM_A));
assertEquals(500, captureWrites(STREAM_B));
verifyNeverWrite(STREAM_C);
verifyWrite(atMost(1), STREAM_D, 0);
assertFalse(write(700));
assertEquals(400, captureWrites(STREAM_A));
assertEquals(500, captureWrites(STREAM_B));
verifyNeverWrite(STREAM_C);
assertEquals(700, captureWrites(STREAM_D));
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does bytesDistributedShouldBeCorrectWithLeafStreamClose() do?
bytesDistributedShouldBeCorrectWithLeafStreamClose() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is bytesDistributedShouldBeCorrectWithLeafStreamClose() defined?
bytesDistributedShouldBeCorrectWithLeafStreamClose() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 886.
What does bytesDistributedShouldBeCorrectWithLeafStreamClose() call?
bytesDistributedShouldBeCorrectWithLeafStreamClose() calls 4 function(s): captureWrites, verifyNeverWrite, verifyWrite, write.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free