Home / Function/ assertClosedChannelException() — netty Function Reference

assertClosedChannelException() — netty Function Reference

Architecture documentation for the assertClosedChannelException() function in AbstractChannelTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f81463a5_0fdf_2b9b_b736_b430f541ed43["assertClosedChannelException()"]
  63f919c7_8527_59bf_45a5_f49840c141ac["AbstractChannelTest"]
  f81463a5_0fdf_2b9b_b736_b430f541ed43 -->|defined in| 63f919c7_8527_59bf_45a5_f49840c141ac
  d995674a_eb16_206d_4092_cae0cc9b4cea["testClosedChannelExceptionCarryIOException()"]
  d995674a_eb16_206d_4092_cae0cc9b4cea -->|calls| f81463a5_0fdf_2b9b_b736_b430f541ed43
  style f81463a5_0fdf_2b9b_b736_b430f541ed43 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/AbstractChannelTest.java lines 169–174

    private static void assertClosedChannelException(ChannelFuture future, IOException expected)
            throws InterruptedException {
        Throwable cause = future.await().cause();
        assertTrue(cause instanceof ClosedChannelException);
        assertSame(expected, cause.getCause());
    }

Domain

Subdomains

Frequently Asked Questions

What does assertClosedChannelException() do?
assertClosedChannelException() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/AbstractChannelTest.java.
Where is assertClosedChannelException() defined?
assertClosedChannelException() is defined in transport/src/test/java/io/netty/channel/AbstractChannelTest.java at line 169.
What calls assertClosedChannelException()?
assertClosedChannelException() is called by 1 function(s): testClosedChannelExceptionCarryIOException.

Analyze Your Own Codebase

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

Try Supermodel Free