testAddSuccess() — netty Function Reference
Architecture documentation for the testAddSuccess() function in PromiseCombinerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7b40c960_5411_5c4d_4e7c_9721f458db05["testAddSuccess()"] 64e2a604_76bd_8150_6c8d_5a16b7d30a6b["PromiseCombinerTest"] 7b40c960_5411_5c4d_4e7c_9721f458db05 -->|defined in| 64e2a604_76bd_8150_6c8d_5a16b7d30a6b ad2f9452_418e_165a_d9a5_e8d258bd10ea["mockSuccessPromise()"] 7b40c960_5411_5c4d_4e7c_9721f458db05 -->|calls| ad2f9452_418e_165a_d9a5_e8d258bd10ea 2e181b39_5c34_a5a5_f8c5_1ed157e6ffe7["verifyNotCompleted()"] 7b40c960_5411_5c4d_4e7c_9721f458db05 -->|calls| 2e181b39_5c34_a5a5_f8c5_1ed157e6ffe7 462878e2_a019_e9b7_cc17_01f64fb0fcde["verifySuccess()"] 7b40c960_5411_5c4d_4e7c_9721f458db05 -->|calls| 462878e2_a019_e9b7_cc17_01f64fb0fcde style 7b40c960_5411_5c4d_4e7c_9721f458db05 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java lines 150–161
@Test
public void testAddSuccess() throws Exception {
mockSuccessPromise(p1, l1Consumer);
mockSuccessPromise(p2, l2Consumer);
combiner.add(p1);
l1.operationComplete(p1);
combiner.add(p2);
l2.operationComplete(p2);
verifyNotCompleted(p3);
combiner.finish(p3);
verifySuccess(p3);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testAddSuccess() do?
testAddSuccess() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java.
Where is testAddSuccess() defined?
testAddSuccess() is defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java at line 150.
What does testAddSuccess() call?
testAddSuccess() 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