Home / Function/ testAddNullFuture() — netty Function Reference

testAddNullFuture() — netty Function Reference

Architecture documentation for the testAddNullFuture() function in PromiseAggregatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9d145821_05e4_9119_2afc_c6d017e1968f["testAddNullFuture()"]
  b88589a3_9d2d_214c_ca51_54d5a42e4fe6["PromiseAggregatorTest"]
  9d145821_05e4_9119_2afc_c6d017e1968f -->|defined in| b88589a3_9d2d_214c_ca51_54d5a42e4fe6
  style 9d145821_05e4_9119_2afc_c6d017e1968f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/PromiseAggregatorTest.java lines 39–52

    @Test
    public void testAddNullFuture() {
        @SuppressWarnings("unchecked")
        Promise<Void> p = mock(Promise.class);
        @SuppressWarnings("deprecation")
        final PromiseAggregator<Void, Future<Void>> a =
                new PromiseAggregator<Void, Future<Void>>(p);
        assertThrows(NullPointerException.class, new Executable() {
            @Override
            public void execute() {
                a.add((Promise<Void>[]) null);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testAddNullFuture() do?
testAddNullFuture() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/PromiseAggregatorTest.java.
Where is testAddNullFuture() defined?
testAddNullFuture() is defined in common/src/test/java/io/netty/util/concurrent/PromiseAggregatorTest.java at line 39.

Analyze Your Own Codebase

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

Try Supermodel Free