Home / Function/ testAddAllSuccess() — netty Function Reference

testAddAllSuccess() — netty Function Reference

Architecture documentation for the testAddAllSuccess() function in PromiseCombinerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cc651628_d82b_98bc_01a6_d4e25c141ba1["testAddAllSuccess()"]
  64e2a604_76bd_8150_6c8d_5a16b7d30a6b["PromiseCombinerTest"]
  cc651628_d82b_98bc_01a6_d4e25c141ba1 -->|defined in| 64e2a604_76bd_8150_6c8d_5a16b7d30a6b
  ad2f9452_418e_165a_d9a5_e8d258bd10ea["mockSuccessPromise()"]
  cc651628_d82b_98bc_01a6_d4e25c141ba1 -->|calls| ad2f9452_418e_165a_d9a5_e8d258bd10ea
  2e181b39_5c34_a5a5_f8c5_1ed157e6ffe7["verifyNotCompleted()"]
  cc651628_d82b_98bc_01a6_d4e25c141ba1 -->|calls| 2e181b39_5c34_a5a5_f8c5_1ed157e6ffe7
  462878e2_a019_e9b7_cc17_01f64fb0fcde["verifySuccess()"]
  cc651628_d82b_98bc_01a6_d4e25c141ba1 -->|calls| 462878e2_a019_e9b7_cc17_01f64fb0fcde
  style cc651628_d82b_98bc_01a6_d4e25c141ba1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java lines 138–148

    @Test
    public void testAddAllSuccess() throws Exception {
        mockSuccessPromise(p1, l1Consumer);
        mockSuccessPromise(p2, l2Consumer);
        combiner.addAll(p1, p2);
        combiner.finish(p3);
        l1.operationComplete(p1);
        verifyNotCompleted(p3);
        l2.operationComplete(p2);
        verifySuccess(p3);
    }

Domain

Subdomains

Frequently Asked Questions

What does testAddAllSuccess() do?
testAddAllSuccess() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java.
Where is testAddAllSuccess() defined?
testAddAllSuccess() is defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java at line 138.
What does testAddAllSuccess() call?
testAddAllSuccess() calls 3 function(s): mockSuccessPromise, verifyNotCompleted, verifySuccess.

Analyze Your Own Codebase

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

Try Supermodel Free