testAddAllFail() — netty Function Reference
Architecture documentation for the testAddAllFail() function in PromiseCombinerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6eacaeeb_05b7_4cc0_7f9b_cc25fe020b1a["testAddAllFail()"] 64e2a604_76bd_8150_6c8d_5a16b7d30a6b["PromiseCombinerTest"] 6eacaeeb_05b7_4cc0_7f9b_cc25fe020b1a -->|defined in| 64e2a604_76bd_8150_6c8d_5a16b7d30a6b f4f0fc95_619b_0e49_b43f_3a9fbaa293f1["mockFailedPromise()"] 6eacaeeb_05b7_4cc0_7f9b_cc25fe020b1a -->|calls| f4f0fc95_619b_0e49_b43f_3a9fbaa293f1 2e181b39_5c34_a5a5_f8c5_1ed157e6ffe7["verifyNotCompleted()"] 6eacaeeb_05b7_4cc0_7f9b_cc25fe020b1a -->|calls| 2e181b39_5c34_a5a5_f8c5_1ed157e6ffe7 39ea4f38_3959_b01b_aa5c_853ff2c7cdd9["verifyFail()"] 6eacaeeb_05b7_4cc0_7f9b_cc25fe020b1a -->|calls| 39ea4f38_3959_b01b_aa5c_853ff2c7cdd9 style 6eacaeeb_05b7_4cc0_7f9b_cc25fe020b1a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java lines 163–175
@Test
public void testAddAllFail() throws Exception {
RuntimeException e1 = new RuntimeException("fake exception 1");
RuntimeException e2 = new RuntimeException("fake exception 2");
mockFailedPromise(p1, e1, l1Consumer);
mockFailedPromise(p2, e2, l2Consumer);
combiner.addAll(p1, p2);
combiner.finish(p3);
l1.operationComplete(p1);
verifyNotCompleted(p3);
l2.operationComplete(p2);
verifyFail(p3, e1);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testAddAllFail() do?
testAddAllFail() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java.
Where is testAddAllFail() defined?
testAddAllFail() is defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java at line 163.
What does testAddAllFail() call?
testAddAllFail() calls 3 function(s): mockFailedPromise, verifyFail, verifyNotCompleted.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free