InternetProtocolFamilyTest Class — netty Architecture
Architecture documentation for the InternetProtocolFamilyTest class in InternetProtocolFamilyTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 27b435b7_0b14_8476_4101_b40b9551a2bc["InternetProtocolFamilyTest"] c2a89e97_6a81_668e_deb3_f3df07e4d68b["InternetProtocolFamilyTest.java"] 27b435b7_0b14_8476_4101_b40b9551a2bc -->|defined in| c2a89e97_6a81_668e_deb3_f3df07e4d68b 1ed922b5_dc43_d5cc_acd5_aafb7e941431["ipv4ShouldHaveLocalhostOfIpV4()"] 27b435b7_0b14_8476_4101_b40b9551a2bc -->|method| 1ed922b5_dc43_d5cc_acd5_aafb7e941431 6f462067_9362_6646_ca75_2f3b39cb1910["ipv6ShouldHaveLocalhostOfIpV6()"] 27b435b7_0b14_8476_4101_b40b9551a2bc -->|method| 6f462067_9362_6646_ca75_2f3b39cb1910
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/socket/InternetProtocolFamilyTest.java lines 23–33
public class InternetProtocolFamilyTest {
@Test
public void ipv4ShouldHaveLocalhostOfIpV4() {
assertEquals(NetUtil.LOCALHOST4, InternetProtocolFamily.IPv4.localhost());
}
@Test
public void ipv6ShouldHaveLocalhostOfIpV6() {
assertEquals(NetUtil.LOCALHOST6, InternetProtocolFamily.IPv6.localhost());
}
}
Source
Frequently Asked Questions
What is the InternetProtocolFamilyTest class?
InternetProtocolFamilyTest is a class in the netty codebase, defined in transport/src/test/java/io/netty/channel/socket/InternetProtocolFamilyTest.java.
Where is InternetProtocolFamilyTest defined?
InternetProtocolFamilyTest is defined in transport/src/test/java/io/netty/channel/socket/InternetProtocolFamilyTest.java at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free