Home / Function/ testResolveLocalhostIpv4() — netty Function Reference

testResolveLocalhostIpv4() — netty Function Reference

Architecture documentation for the testResolveLocalhostIpv4() function in DnsNameResolverTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c1163215_9f75_2868_a7d6_00eb6eb9e862["testResolveLocalhostIpv4()"]
  b6215f36_0afe_a284_a3fd_3999e90a8e97["DnsNameResolverTest"]
  c1163215_9f75_2868_a7d6_00eb6eb9e862 -->|defined in| b6215f36_0afe_a284_a3fd_3999e90a8e97
  823db696_f241_38c3_775d_51efcf107786["testResolve0()"]
  c1163215_9f75_2868_a7d6_00eb6eb9e862 -->|calls| 823db696_f241_38c3_775d_51efcf107786
  style c1163215_9f75_2868_a7d6_00eb6eb9e862 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java lines 830–837

    @ParameterizedTest
    @EnumSource(DnsNameResolverChannelStrategy.class)
    public void testResolveLocalhostIpv4(DnsNameResolverChannelStrategy strategy) {
        assumeThat(PlatformDependent.isWindows()).isTrue();
        assumeThat(WINDOWS_HOSTS_FILE_LOCALHOST_ENTRY_EXISTS).isFalse();
        assumeThat(DEFAULT_RESOLVE_ADDRESS_TYPES).isNotEqualTo(ResolvedAddressTypes.IPV6_PREFERRED);
        testResolve0(strategy, ResolvedAddressTypes.IPV4_ONLY, NetUtil.LOCALHOST4, "localhost");
    }

Domain

Subdomains

Frequently Asked Questions

What does testResolveLocalhostIpv4() do?
testResolveLocalhostIpv4() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java.
Where is testResolveLocalhostIpv4() defined?
testResolveLocalhostIpv4() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java at line 830.
What does testResolveLocalhostIpv4() call?
testResolveLocalhostIpv4() calls 1 function(s): testResolve0.

Analyze Your Own Codebase

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

Try Supermodel Free