testCompareUnresolvedOnly() — netty Function Reference
Architecture documentation for the testCompareUnresolvedOnly() function in NameServerComparatorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4ec807ab_5ca6_f6e7_27c3_26ce769cf440["testCompareUnresolvedOnly()"] b448ec25_ecf1_3027_6e5c_0842a9c0d810["NameServerComparatorTest"] 4ec807ab_5ca6_f6e7_27c3_26ce769cf440 -->|defined in| b448ec25_ecf1_3027_6e5c_0842a9c0d810 style 4ec807ab_5ca6_f6e7_27c3_26ce769cf440 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/NameServerComparatorTest.java lines 87–98
@Test
public void testCompareUnresolvedOnly() {
NameServerComparator comparator = new NameServerComparator(Inet4Address.class);
int x = comparator.compare(UNRESOLVED1, UNRESOLVED2);
int y = comparator.compare(UNRESOLVED2, UNRESOLVED1);
assertEquals(0, x);
assertEquals(x, -y);
assertEquals(0, comparator.compare(UNRESOLVED1, UNRESOLVED1));
assertEquals(0, comparator.compare(UNRESOLVED2, UNRESOLVED2));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCompareUnresolvedOnly() do?
testCompareUnresolvedOnly() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/NameServerComparatorTest.java.
Where is testCompareUnresolvedOnly() defined?
testCompareUnresolvedOnly() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/NameServerComparatorTest.java at line 87.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free