Home / Function/ testGetOptionWhenClosed() — netty Function Reference

testGetOptionWhenClosed() — netty Function Reference

Architecture documentation for the testGetOptionWhenClosed() function in EpollSocketChannelConfigTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1e43840a_a33f_beeb_d83d_27ce1295a79d["testGetOptionWhenClosed()"]
  cbf3710d_0610_b07a_f224_0edbf3495fdf["EpollSocketChannelConfigTest"]
  1e43840a_a33f_beeb_d83d_27ce1295a79d -->|defined in| cbf3710d_0610_b07a_f224_0edbf3495fdf
  style 1e43840a_a33f_beeb_d83d_27ce1295a79d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelConfigTest.java lines 162–172

    @RepeatedIfExceptionsTest(repeats = 4)
    public void testGetOptionWhenClosed() {
        ch.close().syncUninterruptibly();
        ChannelException e = assertThrows(ChannelException.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                ch.config().getSoLinger();
            }
        });
        assertThat(e).hasCauseInstanceOf(ClosedChannelException.class);
    }

Domain

Subdomains

Frequently Asked Questions

What does testGetOptionWhenClosed() do?
testGetOptionWhenClosed() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelConfigTest.java.
Where is testGetOptionWhenClosed() defined?
testGetOptionWhenClosed() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelConfigTest.java at line 162.

Analyze Your Own Codebase

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

Try Supermodel Free