Home
last modified time | relevance | path

Searched refs:isUriInetAddress (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java250 assertTrue(InetAddresses.isUriInetAddress("192.168.1.1")); in testIsUriInetAddress()
251 assertTrue(InetAddresses.isUriInetAddress("[3ffe:0:0:0:0:0:0:1]")); in testIsUriInetAddress()
252 assertTrue(InetAddresses.isUriInetAddress("[::ffff:192.0.2.1]")); in testIsUriInetAddress()
254 assertFalse(InetAddresses.isUriInetAddress("[192.168.1.1")); in testIsUriInetAddress()
255 assertFalse(InetAddresses.isUriInetAddress("192.168.1.1]")); in testIsUriInetAddress()
256 assertFalse(InetAddresses.isUriInetAddress("")); in testIsUriInetAddress()
257 assertFalse(InetAddresses.isUriInetAddress("192.168.999.888")); in testIsUriInetAddress()
258 assertFalse(InetAddresses.isUriInetAddress("www.google.com")); in testIsUriInetAddress()
259 assertFalse(InetAddresses.isUriInetAddress("1:2e")); in testIsUriInetAddress()
260 assertFalse(InetAddresses.isUriInetAddress("[3ffe:0:0:0:0:0:0:1")); in testIsUriInetAddress()
[all …]
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java515 public static boolean isUriInetAddress(String ipString) { in isUriInetAddress() method in InetAddresses