Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testForUriStringBad (0.46 seconds)

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

        assertFalse(InetAddresses.isUriInetAddress("3ffe:0:0:0:0:0:0:1"));
        assertFalse(InetAddresses.isUriInetAddress("::ffff:192.0.2.1"));
      }
    
      public void testForUriStringBad() {
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.forUriString(""));
    
        assertThrows(
            IllegalArgumentException.class, () -> InetAddresses.forUriString("192.168.999.888"));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
Back to Top