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