Home / Function/ testToStringInDeprecatedApi() — netty Function Reference

testToStringInDeprecatedApi() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/DomainNameMappingTest.java lines 112–121

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

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free