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