testSetOptionWhenClosed() — netty Function Reference
Architecture documentation for the testSetOptionWhenClosed() function in KQueueSocketChannelConfigTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 30bc7bc0_37ca_a9a9_a12d_7b24cad85bbc["testSetOptionWhenClosed()"] 31852228_660c_9dba_2029_e09ec06ff61a["KQueueSocketChannelConfigTest"] 30bc7bc0_37ca_a9a9_a12d_7b24cad85bbc -->|defined in| 31852228_660c_9dba_2029_e09ec06ff61a style 30bc7bc0_37ca_a9a9_a12d_7b24cad85bbc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueSocketChannelConfigTest.java lines 105–114
@Test
public void testSetOptionWhenClosed() {
ch.close().syncUninterruptibly();
try {
ch.config().setSoLinger(0);
fail();
} catch (ChannelException e) {
assertTrue(e.getCause() instanceof ClosedChannelException);
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testSetOptionWhenClosed() do?
testSetOptionWhenClosed() is a function in the netty codebase, defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueSocketChannelConfigTest.java.
Where is testSetOptionWhenClosed() defined?
testSetOptionWhenClosed() is defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueSocketChannelConfigTest.java at line 105.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free