testSortAlreadySortedUnresolved() — netty Function Reference
Architecture documentation for the testSortAlreadySortedUnresolved() function in NameServerComparatorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD cf873aea_0f1d_883d_a1de_d13e6f5c451c["testSortAlreadySortedUnresolved()"] b448ec25_ecf1_3027_6e5c_0842a9c0d810["NameServerComparatorTest"] cf873aea_0f1d_883d_a1de_d13e6f5c451c -->|defined in| b448ec25_ecf1_3027_6e5c_0842a9c0d810 style cf873aea_0f1d_883d_a1de_d13e6f5c451c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/NameServerComparatorTest.java lines 122–131
@Test
public void testSortAlreadySortedUnresolved() {
List<InetSocketAddress> expected = Arrays.asList(UNRESOLVED1, UNRESOLVED2, UNRESOLVED3);
List<InetSocketAddress> addresses = new ArrayList<InetSocketAddress>(expected);
NameServerComparator comparator = new NameServerComparator(Inet6Address.class);
Collections.sort(addresses, comparator);
assertEquals(expected, addresses);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSortAlreadySortedUnresolved() do?
testSortAlreadySortedUnresolved() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/NameServerComparatorTest.java.
Where is testSortAlreadySortedUnresolved() defined?
testSortAlreadySortedUnresolved() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/NameServerComparatorTest.java at line 122.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free