Home / Function/ consumeBytesForNegativeNumBytesShouldFail() — netty Function Reference

consumeBytesForNegativeNumBytesShouldFail() — netty Function Reference

Architecture documentation for the consumeBytesForNegativeNumBytesShouldFail() function in DefaultHttp2LocalFlowControllerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e95ea161_555f_68dc_c54f_2f70f837da43["consumeBytesForNegativeNumBytesShouldFail()"]
  99976e08_de48_4e06_40e5_5ee3655f2651["DefaultHttp2LocalFlowControllerTest"]
  e95ea161_555f_68dc_c54f_2f70f837da43 -->|defined in| 99976e08_de48_4e06_40e5_5ee3655f2651
  5afc6fae_8360_072c_1a3a_5b5aa174554d["consumeBytes()"]
  e95ea161_555f_68dc_c54f_2f70f837da43 -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  style e95ea161_555f_68dc_c54f_2f70f837da43 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java lines 357–365

    @Test
    public void consumeBytesForNegativeNumBytesShouldFail() throws Http2Exception {
        assertThrows(IllegalArgumentException.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                controller.consumeBytes(connection.stream(STREAM_ID), -1);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does consumeBytesForNegativeNumBytesShouldFail() do?
consumeBytesForNegativeNumBytesShouldFail() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java.
Where is consumeBytesForNegativeNumBytesShouldFail() defined?
consumeBytesForNegativeNumBytesShouldFail() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java at line 357.
What does consumeBytesForNegativeNumBytesShouldFail() call?
consumeBytesForNegativeNumBytesShouldFail() calls 1 function(s): consumeBytes.

Analyze Your Own Codebase

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

Try Supermodel Free