- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testForStringIPv4Input (0.1 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
public void test3ff31() { assertThrows(IllegalArgumentException.class, () -> InetAddresses.forString("3ffe:::1")); assertFalse(InetAddresses.isInetAddress("016.016.016.016")); } public void testForStringIPv4Input() throws UnknownHostException { String ipStr = "192.168.0.1"; // Shouldn't hit DNS, because it's an IP string literal. InetAddress ipv4Addr = InetAddress.getByName(ipStr);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0)