streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() — netty Function Reference
Architecture documentation for the streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() function in WeightedFairQueueByteDistributorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e5c7c421_6012_fcf0_bbfc_0ea799957567["streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce()"] 67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"] e5c7c421_6012_fcf0_bbfc_0ea799957567 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8 d35333b0_3394_a15a_9e69_55c84468da13["blockedStreamShouldSpreadDataToChildren()"] e5c7c421_6012_fcf0_bbfc_0ea799957567 -->|calls| d35333b0_3394_a15a_9e69_55c84468da13 11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"] e5c7c421_6012_fcf0_bbfc_0ea799957567 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9 7bda6a25_cd2a_2145_1a6b_a3c3169cec22["verifyWrite()"] e5c7c421_6012_fcf0_bbfc_0ea799957567 -->|calls| 7bda6a25_cd2a_2145_1a6b_a3c3169cec22 style e5c7c421_6012_fcf0_bbfc_0ea799957567 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 302–315
@Test
public void streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() throws Http2Exception {
initState(STREAM_A, 0, true, true);
blockedStreamShouldSpreadDataToChildren(true);
// Make sure if we call update stream again, A should write 1 more time.
initState(STREAM_A, 0, true, true);
assertFalse(write(1));
verifyWrite(times(2), STREAM_A, 0);
// Try to write again, but since no initState A should not write again
assertFalse(write(1));
verifyWrite(times(2), STREAM_A, 0);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() do?
streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() defined?
streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 302.
What does streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() call?
streamWithZeroFlowControlWindowAndDataShouldWriteOnlyOnce() calls 3 function(s): blockedStreamShouldSpreadDataToChildren, verifyWrite, write.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free