Home / Function/ testDefaultValueInDeprecatedApi() — netty Function Reference

testDefaultValueInDeprecatedApi() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/DomainNameMappingTest.java lines 62–71

    @Test
    public void testDefaultValueInDeprecatedApi() {
        DomainNameMapping<String> mapping = new DomainNameMapping<String>("NotFound");

        assertEquals("NotFound", mapping.map("not-existing"));

        mapping.add("*.netty.io", "Netty");

        assertEquals("NotFound", mapping.map("not-existing"));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free