Home / Function/ testInvalidCommand() — netty Function Reference

testInvalidCommand() — netty Function Reference

Architecture documentation for the testInvalidCommand() function in HAProxyMessageDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2ffdb5f4_5d36_176f_32db_0eb22b41809e["testInvalidCommand()"]
  88909aff_3546_2e28_19d9_812a1929ee17["HAProxyMessageDecoderTest"]
  2ffdb5f4_5d36_176f_32db_0eb22b41809e -->|defined in| 88909aff_3546_2e28_19d9_812a1929ee17
  style 2ffdb5f4_5d36_176f_32db_0eb22b41809e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java lines 195–204

    @Test
    public void testInvalidCommand() {
        final String header = "PING TCP4 192.168.0.1 192.168.0.11 56324 443\r\n";
        assertThrows(HAProxyProtocolException.class, new Executable() {
            @Override
            public void execute() {
                ch.writeInbound(copiedBuffer(header, CharsetUtil.US_ASCII));
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free