Home / Function/ testIntegerOption() — netty Function Reference

testIntegerOption() — netty Function Reference

Architecture documentation for the testIntegerOption() function in EpollChannelConfigTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e37f479f_b87c_979f_0955_2590ccbeac84["testIntegerOption()"]
  7543ebba_fcb9_7965_bc72_f8525a811eb2["EpollChannelConfigTest"]
  e37f479f_b87c_979f_0955_2590ccbeac84 -->|defined in| 7543ebba_fcb9_7965_bc72_f8525a811eb2
  style e37f479f_b87c_979f_0955_2590ccbeac84 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollChannelConfigTest.java lines 62–72

    @Test
    public void testIntegerOption() throws Exception {
        Epoll.ensureAvailability();
        EpollSocketChannel channel = new EpollSocketChannel();
        IntegerUnixChannelOption opt = new IntegerUnixChannelOption("INT_OPT", 1, 2);
        Integer zero = 0;
        assertEquals(zero, channel.config().getOption(opt));
        channel.config().setOption(opt, 1);
        assertNotEquals(zero, channel.config().getOption(opt));
        channel.fd().close();
    }

Domain

Subdomains

Frequently Asked Questions

What does testIntegerOption() do?
testIntegerOption() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollChannelConfigTest.java.
Where is testIntegerOption() defined?
testIntegerOption() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollChannelConfigTest.java at line 62.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free