Home / Function/ testIntegerOption() — netty Function Reference

testIntegerOption() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7729fb06_dbf6_2d86_23a2_9197be70df36["testIntegerOption()"]
  f5c650c9_a464_cc61_c859_bf9e0f794480["KQueueChannelConfigTest"]
  7729fb06_dbf6_2d86_23a2_9197be70df36 -->|defined in| f5c650c9_a464_cc61_c859_bf9e0f794480
  style 7729fb06_dbf6_2d86_23a2_9197be70df36 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java lines 89–98

    @Test
    public void testIntegerOption() throws Exception {
        KQueueSocketChannel channel = new KQueueSocketChannel();
        IntegerUnixChannelOption opt = new IntegerUnixChannelOption("INT_OPT", 0xffff, 0x0004);
        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-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java.
Where is testIntegerOption() defined?
testIntegerOption() is defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java at line 89.

Analyze Your Own Codebase

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

Try Supermodel Free