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