testOptionSetThrowsChannelException() — netty Function Reference
Architecture documentation for the testOptionSetThrowsChannelException() function in KQueueChannelConfigTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0f3512bd_1421_043c_0807_4314491809e8["testOptionSetThrowsChannelException()"] f5c650c9_a464_cc61_c859_bf9e0f794480["KQueueChannelConfigTest"] 0f3512bd_1421_043c_0807_4314491809e8 -->|defined in| f5c650c9_a464_cc61_c859_bf9e0f794480 style 0f3512bd_1421_043c_0807_4314491809e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java lines 58–69
@Test
public void testOptionSetThrowsChannelException() throws Exception {
KQueueSocketChannel channel = new KQueueSocketChannel();
channel.config().setKeepAlive(true);
channel.fd().close();
try {
channel.config().setKeepAlive(true);
fail();
} catch (ChannelException e) {
// expected
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testOptionSetThrowsChannelException() do?
testOptionSetThrowsChannelException() is a function in the netty codebase, defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java.
Where is testOptionSetThrowsChannelException() defined?
testOptionSetThrowsChannelException() is defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java at line 58.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free