Home / Function/ testTypeMatch() — netty Function Reference

testTypeMatch() — netty Function Reference

Architecture documentation for the testTypeMatch() function in SimpleUserEventChannelHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cdd71857_914b_662d_c437_8c2a910eeda8["testTypeMatch()"]
  4f8491d9_0a7a_344d_7b4f_ac4c0a1acd42["SimpleUserEventChannelHandlerTest"]
  cdd71857_914b_662d_c437_8c2a910eeda8 -->|defined in| 4f8491d9_0a7a_344d_7b4f_ac4c0a1acd42
  e50e38ee_bd60_739b_8b5c_66601bbfb8ca["FooEvent()"]
  cdd71857_914b_662d_c437_8c2a910eeda8 -->|calls| e50e38ee_bd60_739b_8b5c_66601bbfb8ca
  style cdd71857_914b_662d_c437_8c2a910eeda8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java lines 44–52

    @Test
    public void testTypeMatch() {
        FooEvent fooEvent = new FooEvent();
        channel.pipeline().fireUserEventTriggered(fooEvent);
        assertEquals(1, fooEventCatcher.caughtEvents.size());
        assertEquals(0, allEventCatcher.caughtEvents.size());
        assertEquals(0, fooEvent.refCnt());
        assertFalse(channel.finish());
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testTypeMatch() do?
testTypeMatch() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java.
Where is testTypeMatch() defined?
testTypeMatch() is defined in transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java at line 44.
What does testTypeMatch() call?
testTypeMatch() calls 1 function(s): FooEvent.

Analyze Your Own Codebase

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

Try Supermodel Free