Home / Function/ testUsernameOrPasswordIsNotAscii() — netty Function Reference

testUsernameOrPasswordIsNotAscii() — netty Function Reference

Architecture documentation for the testUsernameOrPasswordIsNotAscii() function in DefaultSocks5PasswordAuthRequestTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f7ff9bf3_f48a_b8ce_d7b5_42a75cd87cad["testUsernameOrPasswordIsNotAscii()"]
  f2f1e22b_52aa_7f53_4d24_3f2a24298b1e["DefaultSocks5PasswordAuthRequestTest"]
  f7ff9bf3_f48a_b8ce_d7b5_42a75cd87cad -->|defined in| f2f1e22b_52aa_7f53_4d24_3f2a24298b1e
  style f7ff9bf3_f48a_b8ce_d7b5_42a75cd87cad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthRequestTest.java lines 36–48

    @Test
    public void testUsernameOrPasswordIsNotAscii() {
        try {
            new DefaultSocks5PasswordAuthRequest("παράδειγμα.δοκιμή", "password");
        } catch (Exception e) {
            assertTrue(e instanceof IllegalArgumentException);
        }
        try {
            new DefaultSocks5PasswordAuthRequest("username", "παράδειγμα.δοκιμή");
        } catch (Exception e) {
            assertTrue(e instanceof IllegalArgumentException);
        }
    }

Domain

Subdomains

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/socksx/v5/DefaultSocks5PasswordAuthRequestTest.java.
Where is testUsernameOrPasswordIsNotAscii() defined?
testUsernameOrPasswordIsNotAscii() is defined in codec-socks/src/test/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthRequestTest.java at line 36.

Analyze Your Own Codebase

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

Try Supermodel Free