Home / Function/ testInvalidUnixAddress() — netty Function Reference

testInvalidUnixAddress() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HaProxyMessageEncoderTest.java lines 390–401

    @Test
    public void testInvalidUnixAddress() {
        final String invalidUnixAddress = new String(new byte[UNIX_ADDRESS_BYTES_LENGTH + 1]);
        assertThrows(IllegalArgumentException.class, new Executable() {
            @Override
            public void execute() {
                new HAProxyMessage(
                        HAProxyProtocolVersion.V2, HAProxyCommand.PROXY, HAProxyProxiedProtocol.UNIX_STREAM,
                        invalidUnixAddress, "/var/run/dst.sock", 0, 0);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free