verifyContextNumber() — netty Function Reference
Architecture documentation for the verifyContextNumber() function in DefaultChannelPipelineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4b537eb5_ea5f_db6e_51cd_6385e6861dda["verifyContextNumber()"] 666d912b_4166_a807_ed10_ba12f328a7b2["DefaultChannelPipelineTest"] 4b537eb5_ea5f_db6e_51cd_6385e6861dda -->|defined in| 666d912b_4166_a807_ed10_ba12f328a7b2 2397bad3_404a_3560_de39_33088a56d1c0["testChannelHandlerContextNavigation()"] 2397bad3_404a_3560_de39_33088a56d1c0 -->|calls| 4b537eb5_ea5f_db6e_51cd_6385e6861dda 83093a77_1a36_e69f_7063_95474ef572e6["testPipelineOperation()"] 83093a77_1a36_e69f_7063_95474ef572e6 -->|calls| 4b537eb5_ea5f_db6e_51cd_6385e6861dda 3ca6ed25_e55f_258b_e4fe_84fa7615ee36["testChannelHandlerContextOrder()"] 3ca6ed25_e55f_258b_e4fe_84fa7615ee36 -->|calls| 4b537eb5_ea5f_db6e_51cd_6385e6861dda style 4b537eb5_ea5f_db6e_51cd_6385e6861dda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 2426–2434
private static void verifyContextNumber(ChannelPipeline pipeline, int expectedNumber) {
AbstractChannelHandlerContext ctx = (AbstractChannelHandlerContext) pipeline.firstContext();
int handlerNumber = 0;
while (ctx != ((DefaultChannelPipeline) pipeline).tail) {
handlerNumber++;
ctx = ctx.next;
}
assertEquals(expectedNumber, handlerNumber);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does verifyContextNumber() do?
verifyContextNumber() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is verifyContextNumber() defined?
verifyContextNumber() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 2426.
What calls verifyContextNumber()?
verifyContextNumber() is called by 3 function(s): testChannelHandlerContextNavigation, testChannelHandlerContextOrder, testPipelineOperation.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free