mockSuccessPromise() — netty Function Reference
Architecture documentation for the mockSuccessPromise() function in PromiseCombinerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ad2f9452_418e_165a_d9a5_e8d258bd10ea["mockSuccessPromise()"] 64e2a604_76bd_8150_6c8d_5a16b7d30a6b["PromiseCombinerTest"] ad2f9452_418e_165a_d9a5_e8d258bd10ea -->|defined in| 64e2a604_76bd_8150_6c8d_5a16b7d30a6b cc651628_d82b_98bc_01a6_d4e25c141ba1["testAddAllSuccess()"] cc651628_d82b_98bc_01a6_d4e25c141ba1 -->|calls| ad2f9452_418e_165a_d9a5_e8d258bd10ea 7b40c960_5411_5c4d_4e7c_9721f458db05["testAddSuccess()"] 7b40c960_5411_5c4d_4e7c_9721f458db05 -->|calls| ad2f9452_418e_165a_d9a5_e8d258bd10ea cb074133_e25a_171a_ca3f_eb5d48c284a8["mockListener()"] ad2f9452_418e_165a_d9a5_e8d258bd10ea -->|calls| cb074133_e25a_171a_ca3f_eb5d48c284a8 style ad2f9452_418e_165a_d9a5_e8d258bd10ea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java lines 239–243
private static void mockSuccessPromise(Promise<Void> p, GenericFutureListenerConsumer consumer) {
when(p.isDone()).thenReturn(true);
when(p.isSuccess()).thenReturn(true);
mockListener(p, consumer);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does mockSuccessPromise() do?
mockSuccessPromise() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java.
Where is mockSuccessPromise() defined?
mockSuccessPromise() is defined in common/src/test/java/io/netty/util/concurrent/PromiseCombinerTest.java at line 239.
What does mockSuccessPromise() call?
mockSuccessPromise() calls 1 function(s): mockListener.
What calls mockSuccessPromise()?
mockSuccessPromise() is called by 2 function(s): testAddAllSuccess, testAddSuccess.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free