Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testForStringIPv6Input (0.13 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

          return;
        }
        assertEquals(ipv4Addr, InetAddresses.forString(ipStr));
        assertTrue(InetAddresses.isInetAddress(ipStr));
      }
    
      public void testForStringIPv6Input() throws UnknownHostException {
        String ipStr = "3ffe::1";
        // Shouldn't hit DNS, because it's an IP string literal.
        InetAddress ipv6Addr = 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)
Back to top