testFirstMatchWinsInDeprecatedApi() — netty Function Reference
Architecture documentation for the testFirstMatchWinsInDeprecatedApi() function in DomainNameMappingTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ee243c6a_b335_f964_2074_51ac1a71dba4["testFirstMatchWinsInDeprecatedApi()"] a7e40a68_a0cc_c785_e126_3c2e680ed006["DomainNameMappingTest"] ee243c6a_b335_f964_2074_51ac1a71dba4 -->|defined in| a7e40a68_a0cc_c785_e126_3c2e680ed006 style ee243c6a_b335_f964_2074_51ac1a71dba4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/DomainNameMappingTest.java lines 97–110
@Test
public void testFirstMatchWinsInDeprecatedApi() {
assertEquals("Netty",
new DomainNameMapping<String>("NotFound")
.add("*.netty.io", "Netty")
.add("downloads.netty.io", "Netty-Downloads")
.map("downloads.netty.io"));
assertEquals("Netty-Downloads",
new DomainNameMapping<String>("NotFound")
.add("downloads.netty.io", "Netty-Downloads")
.add("*.netty.io", "Netty")
.map("downloads.netty.io"));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testFirstMatchWinsInDeprecatedApi() do?
testFirstMatchWinsInDeprecatedApi() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/DomainNameMappingTest.java.
Where is testFirstMatchWinsInDeprecatedApi() defined?
testFirstMatchWinsInDeprecatedApi() is defined in common/src/test/java/io/netty/util/DomainNameMappingTest.java at line 97.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free