testAuthRequestDecoder() — netty Function Reference
Architecture documentation for the testAuthRequestDecoder() function in SocksAuthRequestDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 16483e73_c6e3_c595_24ea_ff56afea2f13["testAuthRequestDecoder()"] d73ea5d3_bd98_0ebe_c074_f8db2a668b15["SocksAuthRequestDecoderTest"] 16483e73_c6e3_c595_24ea_ff56afea2f13 -->|defined in| d73ea5d3_bd98_0ebe_c074_f8db2a668b15 style 16483e73_c6e3_c595_24ea_ff56afea2f13 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthRequestDecoderTest.java lines 32–42
@Test
public void testAuthRequestDecoder() {
SocksAuthRequest msg = new SocksAuthRequest(username, password);
SocksAuthRequestDecoder decoder = new SocksAuthRequestDecoder();
EmbeddedChannel embedder = new EmbeddedChannel(decoder);
SocksCommonTestUtils.writeMessageIntoEmbedder(embedder, msg);
msg = embedder.readInbound();
assertEquals(username, msg.username());
assertEquals(password, msg.password());
assertNull(embedder.readInbound());
}
Domain
Subdomains
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/socks/SocksAuthRequestDecoderTest.java.
Where is testAuthRequestDecoder() defined?
testAuthRequestDecoder() is defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthRequestDecoderTest.java at line 32.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free