Home / Function/ testChannelHandlerContextNavigation() — netty Function Reference

testChannelHandlerContextNavigation() — netty Function Reference

Architecture documentation for the testChannelHandlerContextNavigation() function in DefaultChannelPipelineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2397bad3_404a_3560_de39_33088a56d1c0["testChannelHandlerContextNavigation()"]
  666d912b_4166_a807_ed10_ba12f328a7b2["DefaultChannelPipelineTest"]
  2397bad3_404a_3560_de39_33088a56d1c0 -->|defined in| 666d912b_4166_a807_ed10_ba12f328a7b2
  ac4e68ef_f839_82a9_88bf_102a3c997dd8["newHandlers()"]
  2397bad3_404a_3560_de39_33088a56d1c0 -->|calls| ac4e68ef_f839_82a9_88bf_102a3c997dd8
  4b537eb5_ea5f_db6e_51cd_6385e6861dda["verifyContextNumber()"]
  2397bad3_404a_3560_de39_33088a56d1c0 -->|calls| 4b537eb5_ea5f_db6e_51cd_6385e6861dda
  style 2397bad3_404a_3560_de39_33088a56d1c0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 341–353

    @Test
    public void testChannelHandlerContextNavigation() {
        ChannelPipeline pipeline = new LocalChannel().pipeline();

        final int HANDLER_ARRAY_LEN = 5;
        ChannelHandler[] firstHandlers = newHandlers(HANDLER_ARRAY_LEN);
        ChannelHandler[] lastHandlers = newHandlers(HANDLER_ARRAY_LEN);

        pipeline.addFirst(firstHandlers);
        pipeline.addLast(lastHandlers);

        verifyContextNumber(pipeline, HANDLER_ARRAY_LEN * 2);
    }

Domain

Subdomains

Frequently Asked Questions

What does testChannelHandlerContextNavigation() do?
testChannelHandlerContextNavigation() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is testChannelHandlerContextNavigation() defined?
testChannelHandlerContextNavigation() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 341.
What does testChannelHandlerContextNavigation() call?
testChannelHandlerContextNavigation() calls 2 function(s): newHandlers, verifyContextNumber.

Analyze Your Own Codebase

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

Try Supermodel Free