Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRequireBracketsForIPv6 (0.22 sec)

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

            .addEqualityGroup(hpNoPort1, hpNoPort2, hpNoPort3, hpNoPort4, hpNoPort5)
            .addEqualityGroup(hpWithPort1, hpWithPort2, hpWithPort3)
            .testEquals();
      }
    
      public void testRequireBracketsForIPv6() {
        // Bracketed IPv6 works fine.
        assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHost());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top