Home / Function/ testSetMaxCumulationBufferComponentsAfterInit() — netty Function Reference

testSetMaxCumulationBufferComponentsAfterInit() — netty Function Reference

Architecture documentation for the testSetMaxCumulationBufferComponentsAfterInit() function in HttpObjectAggregatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4d2bb319_2794_8c4d_2cc6_d679f29a4ca9["testSetMaxCumulationBufferComponentsAfterInit()"]
  32ca569a_2b67_1114_bbc8_cbf703c91b95["HttpObjectAggregatorTest"]
  4d2bb319_2794_8c4d_2cc6_d679f29a4ca9 -->|defined in| 32ca569a_2b67_1114_bbc8_cbf703c91b95
  style 4d2bb319_2794_8c4d_2cc6_d679f29a4ca9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java lines 322–334

    @Test
    public void testSetMaxCumulationBufferComponentsAfterInit() throws Exception {
        final HttpObjectAggregator aggr = new HttpObjectAggregator(Integer.MAX_VALUE);
        ChannelHandlerContext ctx = Mockito.mock(ChannelHandlerContext.class);
        aggr.handlerAdded(ctx);
        Mockito.verifyNoMoreInteractions(ctx);
        assertThrows(IllegalStateException.class, new Executable() {
            @Override
            public void execute() {
                aggr.setMaxCumulationBufferComponents(10);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testSetMaxCumulationBufferComponentsAfterInit() do?
testSetMaxCumulationBufferComponentsAfterInit() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java.
Where is testSetMaxCumulationBufferComponentsAfterInit() defined?
testSetMaxCumulationBufferComponentsAfterInit() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java at line 322.

Analyze Your Own Codebase

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

Try Supermodel Free