Home / Function/ testTypeMismatch() — netty Function Reference

testTypeMismatch() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  fbaf62b3_4dec_55a8_11bf_66543c14098b["testTypeMismatch()"]
  4f8491d9_0a7a_344d_7b4f_ac4c0a1acd42["SimpleUserEventChannelHandlerTest"]
  fbaf62b3_4dec_55a8_11bf_66543c14098b -->|defined in| 4f8491d9_0a7a_344d_7b4f_ac4c0a1acd42
  d037ab6d_11bb_cbcf_a120_b984d5a5b1df["BarEvent()"]
  fbaf62b3_4dec_55a8_11bf_66543c14098b -->|calls| d037ab6d_11bb_cbcf_a120_b984d5a5b1df
  style fbaf62b3_4dec_55a8_11bf_66543c14098b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/SimpleUserEventChannelHandlerTest.java lines 54–62

    @Test
    public void testTypeMismatch() {
        BarEvent barEvent = new BarEvent();
        channel.pipeline().fireUserEventTriggered(barEvent);
        assertEquals(0, fooEventCatcher.caughtEvents.size());
        assertEquals(1, allEventCatcher.caughtEvents.size());
        assertTrue(barEvent.release());
        assertFalse(channel.finish());
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free