Searched refs:ipStr (Results 1 – 2 of 2) sorted by relevance
126 String ipStr = "192.168.0.1"; in testForStringIPv4Input() local129 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() local138 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() local205 InetAddress ip = InetAddresses.forString(ipStr); in testToUriStringIPv4()[all …]