Home / Function/ testSocksAuthResponseDecoderWithDifferentParams() — netty Function Reference

testSocksAuthResponseDecoderWithDifferentParams() — netty Function Reference

Architecture documentation for the testSocksAuthResponseDecoderWithDifferentParams() function in SocksAuthResponseDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  afdf961d_2130_b3c4_50ed_54f2ae7a4de9["testSocksAuthResponseDecoderWithDifferentParams()"]
  3e1f4cae_3e2a_90af_c90b_aa6d0ff9fff7["SocksAuthResponseDecoderTest"]
  afdf961d_2130_b3c4_50ed_54f2ae7a4de9 -->|defined in| 3e1f4cae_3e2a_90af_c90b_aa6d0ff9fff7
  e802d8a9_9ed9_5b53_9b10_493f8f388512["testSocksCmdResponseDecoder()"]
  e802d8a9_9ed9_5b53_9b10_493f8f388512 -->|calls| afdf961d_2130_b3c4_50ed_54f2ae7a4de9
  style afdf961d_2130_b3c4_50ed_54f2ae7a4de9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java lines 29–38

    private static void testSocksAuthResponseDecoderWithDifferentParams(SocksAuthStatus authStatus) {
        logger.debug("Testing SocksAuthResponseDecoder with authStatus: " + authStatus);
        SocksAuthResponse msg = new SocksAuthResponse(authStatus);
        SocksAuthResponseDecoder decoder = new SocksAuthResponseDecoder();
        EmbeddedChannel embedder = new EmbeddedChannel(decoder);
        SocksCommonTestUtils.writeMessageIntoEmbedder(embedder, msg);
        msg = embedder.readInbound();
        assertSame(msg.authStatus(), authStatus);
        assertNull(embedder.readInbound());
    }

Domain

Subdomains

Frequently Asked Questions

What does testSocksAuthResponseDecoderWithDifferentParams() do?
testSocksAuthResponseDecoderWithDifferentParams() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java.
Where is testSocksAuthResponseDecoderWithDifferentParams() defined?
testSocksAuthResponseDecoderWithDifferentParams() is defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java at line 29.
What calls testSocksAuthResponseDecoderWithDifferentParams()?
testSocksAuthResponseDecoderWithDifferentParams() is called by 1 function(s): testSocksCmdResponseDecoder.

Analyze Your Own Codebase

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

Try Supermodel Free