testUsernameOrPasswordIsNotAscii() — netty Function Reference
Architecture documentation for the testUsernameOrPasswordIsNotAscii() function in SocksAuthRequestTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e282767c_211c_32e7_6058_15435c16f708["testUsernameOrPasswordIsNotAscii()"] 8ba33d5b_a52b_6ceb_2532_e6c667d2a799["SocksAuthRequestTest"] e282767c_211c_32e7_6058_15435c16f708 -->|defined in| 8ba33d5b_a52b_6ceb_2532_e6c667d2a799 style e282767c_211c_32e7_6058_15435c16f708 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthRequestTest.java lines 36–48
@Test
public void testUsernameOrPasswordIsNotAscii() {
try {
new SocksAuthRequest("παράδειγμα.δοκιμή", "password");
} catch (Exception e) {
assertTrue(e instanceof IllegalArgumentException);
}
try {
new SocksAuthRequest("username", "παράδειγμα.δοκιμή");
} catch (Exception e) {
assertTrue(e instanceof IllegalArgumentException);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testUsernameOrPasswordIsNotAscii() do?
testUsernameOrPasswordIsNotAscii() is a function in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthRequestTest.java.
Where is testUsernameOrPasswordIsNotAscii() defined?
testUsernameOrPasswordIsNotAscii() is defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksAuthRequestTest.java at line 36.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free