Home / Function/ testToString() — netty Function Reference

testToString() — netty Function Reference

Architecture documentation for the testToString() function in DomainNameMappingTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e65e45af_f6d8_fd28_45b2_0e5f47cc6ecb["testToString()"]
  a7e40a68_a0cc_c785_e126_3c2e680ed006["DomainNameMappingTest"]
  e65e45af_f6d8_fd28_45b2_0e5f47cc6ecb -->|defined in| a7e40a68_a0cc_c785_e126_3c2e680ed006
  style e65e45af_f6d8_fd28_45b2_0e5f47cc6ecb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/DomainNameMappingTest.java lines 208–218

    @Test
    public void testToString() {
        DomainNameMapping<String> mapping = new DomainNameMappingBuilder<String>("NotFound")
            .add("*.netty.io", "Netty")
            .add("downloads.netty.io", "Netty-Download")
            .build();

        assertEquals(
            "ImmutableDomainNameMapping(default: NotFound, map: {*.netty.io=Netty, downloads.netty.io=Netty-Download})",
            mapping.toString());
    }

Domain

Subdomains

Frequently Asked Questions

What does testToString() do?
testToString() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/DomainNameMappingTest.java.
Where is testToString() defined?
testToString() is defined in common/src/test/java/io/netty/util/DomainNameMappingTest.java at line 208.

Analyze Your Own Codebase

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

Try Supermodel Free