Home / Function/ assertFullyWritten() — netty Function Reference

assertFullyWritten() — netty Function Reference

Architecture documentation for the assertFullyWritten() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  da0712d5_2b96_e340_6c7a_17114adb9efc["assertFullyWritten()"]
  f33d41f9_6d94_fcc8_6c0d_546200c5b4cd["FakeFlowControlled"]
  da0712d5_2b96_e340_6c7a_17114adb9efc -->|defined in| f33d41f9_6d94_fcc8_6c0d_546200c5b4cd
  b49f8173_f52c_2c10_ad24_9b9966426113["payloadSmallerThanWindowShouldBeWrittenImmediately()"]
  b49f8173_f52c_2c10_ad24_9b9966426113 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  f926ed4a_aaa9_296b_18ba_579835944b67["emptyPayloadShouldBeWrittenImmediately()"]
  f926ed4a_aaa9_296b_18ba_579835944b67 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  4c3b0295_1dae_fc9f_14a3_3ac54290b901["payloadsShouldMerge()"]
  4c3b0295_1dae_fc9f_14a3_3ac54290b901 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  bf6afd63_d0f3_c0c1_650b_23b14a5e50a4["flowControllerCorrectlyAccountsForBytesWithMerge()"]
  bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  2aae32fe_f478_4db5_efb6_e195ae461e31["windowUpdateAndFlushShouldTriggerWrite()"]
  2aae32fe_f478_4db5_efb6_e195ae461e31 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  ecdc5a9a_67c1_67ad_e2f7_250f26a0857c["initialWindowUpdateShouldSendPayload()"]
  ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  16f39ce8_0699_4fca_17de_f6237b24d4f8["successiveSendsShouldNotInteract()"]
  16f39ce8_0699_4fca_17de_f6237b24d4f8 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  bdbd752a_96ca_92fb_7341_a4ddb7b401e6["negativeWindowShouldNotThrowException()"]
  bdbd752a_96ca_92fb_7341_a4ddb7b401e6 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  4a364a1a_0a19_5f2d_adbd_37f0d918fdfb["initialWindowUpdateShouldSendEmptyFrame()"]
  4a364a1a_0a19_5f2d_adbd_37f0d918fdfb -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  d2dab0f5_680b_0871_7ef7_ff0bb34b4834["connectionWindowUpdateShouldSendFrame()"]
  d2dab0f5_680b_0871_7ef7_ff0bb34b4834 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  eb6f6578_87ec_6ea1_bee9_3ea7fce7fda3["streamWindowUpdateShouldSendFrame()"]
  eb6f6578_87ec_6ea1_bee9_3ea7fce7fda3 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  cbf824fe_e9cc_34ce_8efe_68dfd754d243["nonWritableChannelDoesNotAttemptToWrite()"]
  cbf824fe_e9cc_34ce_8efe_68dfd754d243 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  bc876d3d_5779_94ca_7427_53cdf7222fdd["contextShouldSendQueuedFramesWhenSet()"]
  bc876d3d_5779_94ca_7427_53cdf7222fdd -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc
  style da0712d5_2b96_e340_6c7a_17114adb9efc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 1129–1133

        public void assertFullyWritten() {
            assertTrue(writeCalled);
            assertEquals(0, currentPayloadSize);
            assertEquals(0, currentPadding);
        }

Domain

Subdomains

Frequently Asked Questions

What does assertFullyWritten() do?
assertFullyWritten() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is assertFullyWritten() defined?
assertFullyWritten() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 1129.
What calls assertFullyWritten()?
assertFullyWritten() is called by 14 function(s): connectionWindowUpdateShouldSendFrame, contextShouldSendQueuedFramesWhenSet, emptyPayloadShouldBeWrittenImmediately, flowControllerCorrectlyAccountsForBytesWithMerge, initialWindowSizeWithNoContextShouldNotThrow, initialWindowUpdateShouldSendEmptyFrame, initialWindowUpdateShouldSendPayload, negativeWindowShouldNotThrowException, and 6 more.

Analyze Your Own Codebase

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

Try Supermodel Free