testSetOptionWhenClosed() — netty Function Reference
Architecture documentation for the testSetOptionWhenClosed() function in EpollSocketChannelConfigTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b86d0952_f9c1_ac6a_4c43_11ae5af2063b["testSetOptionWhenClosed()"] cbf3710d_0610_b07a_f224_0edbf3495fdf["EpollSocketChannelConfigTest"] b86d0952_f9c1_ac6a_4c43_11ae5af2063b -->|defined in| cbf3710d_0610_b07a_f224_0edbf3495fdf style b86d0952_f9c1_ac6a_4c43_11ae5af2063b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelConfigTest.java lines 147–157
@RepeatedIfExceptionsTest(repeats = 4)
public void testSetOptionWhenClosed() {
ch.close().syncUninterruptibly();
ChannelException e = assertThrows(ChannelException.class, new Executable() {
@Override
public void execute() throws Throwable {
ch.config().setSoLinger(0);
}
});
assertThat(e).hasCauseInstanceOf(ClosedChannelException.class);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testSetOptionWhenClosed() do?
testSetOptionWhenClosed() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelConfigTest.java.
Where is testSetOptionWhenClosed() defined?
testSetOptionWhenClosed() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollSocketChannelConfigTest.java at line 147.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free