Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCompatIPv4Addresses (0.14 sec)

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

        assertThrows(
            IllegalArgumentException.class, () -> InetAddresses.forUriString("::ffff:192.0.2.1"));
      }
    
      public void testCompatIPv4Addresses() {
        ImmutableSet<String> nonCompatAddresses = ImmutableSet.of("3ffe::1", "::", "::1");
    
        for (String nonCompatAddress : nonCompatAddresses) {
          InetAddress ip = InetAddresses.forString(nonCompatAddress);
    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