Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetCoercedIPv4Address (0.15 sec)

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

        ipv4 = InetAddresses.forString("192.0.2.45");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
      }
    
      public void testGetCoercedIPv4Address() {
        // Check that a coerced IPv4 address is unaltered.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("127.0.0.1")))
            .isEqualTo(InetAddresses.forString("127.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)
Back to top