Home / Function/ testInvalidIpV4Address() — netty Function Reference

testInvalidIpV4Address() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HaProxyMessageEncoderTest.java lines 364–375

    @Test
    public void testInvalidIpV4Address() {
        final String invalidIpv4Address = "192.168.0.1234";
        assertThrows(IllegalArgumentException.class, new Executable() {
            @Override
            public void execute() {
                new HAProxyMessage(
                        HAProxyProtocolVersion.V1, HAProxyCommand.PROXY, HAProxyProxiedProtocol.TCP4,
                        invalidIpv4Address, "192.168.0.11", 56324, 443);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free