Home / Function/ testBootstrap() — netty Function Reference

testBootstrap() — netty Function Reference

Architecture documentation for the testBootstrap() function in SimpleChannelPoolTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  11c2b736_3691_4346_003e_2374801f94e3["testBootstrap()"]
  dfb428cc_ecc3_d271_5689_7e428381a986["SimpleChannelPoolTest"]
  11c2b736_3691_4346_003e_2374801f94e3 -->|defined in| dfb428cc_ecc3_d271_5689_7e428381a986
  style 11c2b736_3691_4346_003e_2374801f94e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/pool/SimpleChannelPoolTest.java lines 247–258

    @Test
    public void testBootstrap() {
        final SimpleChannelPool pool = new SimpleChannelPool(new Bootstrap(), new CountingChannelPoolHandler());

        try {
            // Checking for the actual bootstrap object doesn't make sense here, since the pool uses a copy with a
            // modified channel handler.
            assertNotNull(pool.bootstrap());
        } finally {
            pool.close();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testBootstrap() do?
testBootstrap() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/pool/SimpleChannelPoolTest.java.
Where is testBootstrap() defined?
testBootstrap() is defined in transport/src/test/java/io/netty/channel/pool/SimpleChannelPoolTest.java at line 247.

Analyze Your Own Codebase

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

Try Supermodel Free