Home / Function/ testHasNoDisconnectSkipDisconnect() — netty Function Reference

testHasNoDisconnectSkipDisconnect() — netty Function Reference

Architecture documentation for the testHasNoDisconnectSkipDisconnect() function in EmbeddedChannelTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  97b2da67_9f41_4135_3b23_20654b839934["testHasNoDisconnectSkipDisconnect()"]
  300cabef_b042_697f_5623_37ce249f504d["EmbeddedChannelTest"]
  97b2da67_9f41_4135_3b23_20654b839934 -->|defined in| 300cabef_b042_697f_5623_37ce249f504d
  4fc8a753_5665_2ca5_69db_dc1006272b05["close()"]
  97b2da67_9f41_4135_3b23_20654b839934 -->|calls| 4fc8a753_5665_2ca5_69db_dc1006272b05
  14682a54_a3c2_37f7_b68d_c1ff77b7e22b["disconnect()"]
  97b2da67_9f41_4135_3b23_20654b839934 -->|calls| 14682a54_a3c2_37f7_b68d_c1ff77b7e22b
  style 97b2da67_9f41_4135_3b23_20654b839934 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java lines 291–300

    @Test
    public void testHasNoDisconnectSkipDisconnect() throws InterruptedException {
        EmbeddedChannel channel = new EmbeddedChannel(false, new ChannelOutboundHandlerAdapter() {
            @Override
            public void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
                promise.tryFailure(new Throwable());
            }
        });
        assertFalse(channel.disconnect().isSuccess());
    }

Domain

Subdomains

Frequently Asked Questions

What does testHasNoDisconnectSkipDisconnect() do?
testHasNoDisconnectSkipDisconnect() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java.
Where is testHasNoDisconnectSkipDisconnect() defined?
testHasNoDisconnectSkipDisconnect() is defined in transport/src/test/java/io/netty/channel/embedded/EmbeddedChannelTest.java at line 291.
What does testHasNoDisconnectSkipDisconnect() call?
testHasNoDisconnectSkipDisconnect() calls 2 function(s): close, disconnect.

Analyze Your Own Codebase

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

Try Supermodel Free