Home / Function/ testConstructorParamsAreNotNull() — netty Function Reference

testConstructorParamsAreNotNull() — netty Function Reference

Architecture documentation for the testConstructorParamsAreNotNull() function in DefaultSocks5CommandRequestTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  25a25c19_8055_f872_4e1f_366f8ca7cbd7["testConstructorParamsAreNotNull()"]
  4d133b87_aedc_e775_f472_b4d9705890c8["DefaultSocks5CommandRequestTest"]
  25a25c19_8055_f872_4e1f_366f8ca7cbd7 -->|defined in| 4d133b87_aedc_e775_f472_b4d9705890c8
  style 25a25c19_8055_f872_4e1f_366f8ca7cbd7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequestTest.java lines 23–42

    @Test
    public void testConstructorParamsAreNotNull() {
        try {
            new DefaultSocks5CommandRequest(null, Socks5AddressType.DOMAIN, "", 1);
        } catch (Exception e) {
            assertTrue(e instanceof NullPointerException);
        }

        try {
            new DefaultSocks5CommandRequest(Socks5CommandType.CONNECT, null, "", 1);
        } catch (Exception e) {
            assertTrue(e instanceof NullPointerException);
        }

        try {
            new DefaultSocks5CommandRequest(Socks5CommandType.CONNECT, Socks5AddressType.DOMAIN, null, 1);
        } catch (Exception e) {
            assertTrue(e instanceof NullPointerException);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testConstructorParamsAreNotNull() do?
testConstructorParamsAreNotNull() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequestTest.java.
Where is testConstructorParamsAreNotNull() defined?
testConstructorParamsAreNotNull() is defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5CommandRequestTest.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free