Home / Function/ testLongUnixAddress() — netty Function Reference

testLongUnixAddress() — netty Function Reference

Architecture documentation for the testLongUnixAddress() function in HaProxyMessageEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  27ee0d7c_c098_fe80_dfba_a5f29eb2f3c1["testLongUnixAddress()"]
  4545ac9d_2f62_4ac7_c80f_5975d8175456["HaProxyMessageEncoderTest"]
  27ee0d7c_c098_fe80_dfba_a5f29eb2f3c1 -->|defined in| 4545ac9d_2f62_4ac7_c80f_5975d8175456
  style 27ee0d7c_c098_fe80_dfba_a5f29eb2f3c1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HaProxyMessageEncoderTest.java lines 415–426

    @Test
    public void testLongUnixAddress() {
        final String longUnixAddress = new String(new char[109]).replace("\0", "a");
        assertThrows(IllegalArgumentException.class, new Executable() {
            @Override
            public void execute() {
                new HAProxyMessage(
                        HAProxyProtocolVersion.V2, HAProxyCommand.PROXY, HAProxyProxiedProtocol.UNIX_STREAM,
                        "source", longUnixAddress, 0, 0);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testLongUnixAddress() do?
testLongUnixAddress() is a function in the netty codebase, defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HaProxyMessageEncoderTest.java.
Where is testLongUnixAddress() defined?
testLongUnixAddress() is defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HaProxyMessageEncoderTest.java at line 415.

Analyze Your Own Codebase

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

Try Supermodel Free