Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/net/
DInetAddressesTest.java126 String ipStr = "192.168.0.1"; in testForStringIPv4Input() local
129 ipv4Addr = InetAddress.getByName(ipStr); in testForStringIPv4Input()
130 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()
131 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv4Input()
135 String ipStr = "3ffe::1"; in testForStringIPv6Input() local
138 ipv6Addr = InetAddress.getByName(ipStr); in testForStringIPv6Input()
139 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()
140 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv6Input()
204 String ipStr = "1.2.3.4"; in testToUriStringIPv4() local
205 InetAddress ip = InetAddresses.forString(ipStr); in testToUriStringIPv4()
[all …]
/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java126 String ipStr = "192.168.0.1"; in testForStringIPv4Input() local
129 ipv4Addr = InetAddress.getByName(ipStr); in testForStringIPv4Input()
130 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()
131 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv4Input()
135 String ipStr = "3ffe::1"; in testForStringIPv6Input() local
138 ipv6Addr = InetAddress.getByName(ipStr); in testForStringIPv6Input()
139 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()
140 assertTrue(InetAddresses.isInetAddress(ipStr)); in testForStringIPv6Input()
204 String ipStr = "1.2.3.4"; in testToUriStringIPv4() local
205 InetAddress ip = InetAddresses.forString(ipStr); in testToUriStringIPv4()
[all …]