testAuthRequestDecoder() — netty Function Reference
Architecture documentation for the testAuthRequestDecoder() function in Socks5PasswordAuthRequestDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b923a31e_4b2f_fe2b_884f_c9e33d9f89d8["testAuthRequestDecoder()"] abb801f8_c73e_6cc1_0318_eb1546959879["Socks5PasswordAuthRequestDecoderTest"] b923a31e_4b2f_fe2b_884f_c9e33d9f89d8 -->|defined in| abb801f8_c73e_6cc1_0318_eb1546959879 style b923a31e_4b2f_fe2b_884f_c9e33d9f89d8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthRequestDecoderTest.java lines 26–37
@Test
public void testAuthRequestDecoder() {
String username = "testUsername";
String password = "testPassword";
Socks5PasswordAuthRequest msg = new DefaultSocks5PasswordAuthRequest(username, password);
EmbeddedChannel embedder = new EmbeddedChannel(new Socks5PasswordAuthRequestDecoder());
Socks5CommonTestUtils.writeFromClientToServer(embedder, msg);
msg = embedder.readInbound();
assertEquals(username, msg.username());
assertEquals(password, msg.password());
assertNull(embedder.readInbound());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testAuthRequestDecoder() do?
testAuthRequestDecoder() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthRequestDecoderTest.java.
Where is testAuthRequestDecoder() defined?
testAuthRequestDecoder() is defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthRequestDecoderTest.java at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free