test() — netty Function Reference
Architecture documentation for the test() function in Socks5PasswordAuthResponseDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 540c6d2f_7c76_338c_4fd2_7b7007f4ea0e["test()"] 499e3669_6646_e9c4_ecd4_7b7b9f1e80f6["Socks5PasswordAuthResponseDecoderTest"] 540c6d2f_7c76_338c_4fd2_7b7007f4ea0e -->|defined in| 499e3669_6646_e9c4_ecd4_7b7b9f1e80f6 42bbc791_cc21_5e19_4e4b_7a0db2e08552["testSocksCmdResponseDecoder()"] 42bbc791_cc21_5e19_4e4b_7a0db2e08552 -->|calls| 540c6d2f_7c76_338c_4fd2_7b7007f4ea0e style 540c6d2f_7c76_338c_4fd2_7b7007f4ea0e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthResponseDecoderTest.java lines 30–38
private static void test(Socks5PasswordAuthStatus status) {
logger.debug("Testing Socks5PasswordAuthResponseDecoder with status: " + status);
Socks5PasswordAuthResponse msg = new DefaultSocks5PasswordAuthResponse(status);
EmbeddedChannel embedder = new EmbeddedChannel(new Socks5PasswordAuthResponseDecoder());
Socks5CommonTestUtils.writeFromServerToClient(embedder, msg);
msg = embedder.readInbound();
assertSame(msg.status(), status);
assertNull(embedder.readInbound());
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does test() do?
test() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthResponseDecoderTest.java.
Where is test() defined?
test() is defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthResponseDecoderTest.java at line 30.
What calls test()?
test() 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