- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testForUriStringIPv6 (0.22 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
public void testForUriStringIPv4() { Inet4Address expected = (Inet4Address) InetAddresses.forString("192.168.1.1"); assertEquals(expected, InetAddresses.forUriString("192.168.1.1")); } public void testForUriStringIPv6() { Inet6Address expected = (Inet6Address) InetAddresses.forString("3ffe:0:0:0:0:0:0:1"); assertEquals(expected, InetAddresses.forUriString("[3ffe:0:0:0:0:0:0:1]")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0)