Searched refs:isLiteralIpAddress (Results 1 – 4 of 4) sorted by relevance
54 assertTrue(AddressUtils.isLiteralIpAddress("127.0.0.1")); in test_isLiteralIpAddress_IPv4_Success()55 assertTrue(AddressUtils.isLiteralIpAddress("255.255.255.255")); in test_isLiteralIpAddress_IPv4_Success()56 assertTrue(AddressUtils.isLiteralIpAddress("0.0.00.000")); in test_isLiteralIpAddress_IPv4_Success()57 assertTrue(AddressUtils.isLiteralIpAddress("192.009.010.19")); in test_isLiteralIpAddress_IPv4_Success()58 assertTrue(AddressUtils.isLiteralIpAddress("254.249.190.094")); in test_isLiteralIpAddress_IPv4_Success()62 assertFalse(AddressUtils.isLiteralIpAddress("127.0.0.1a")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()63 assertFalse(AddressUtils.isLiteralIpAddress(" 255.255.255.255")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()64 assertFalse(AddressUtils.isLiteralIpAddress("0.0.00.0009")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()65 assertFalse(AddressUtils.isLiteralIpAddress("192.009z.010.19")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()66 assertFalse(AddressUtils.isLiteralIpAddress("254.249..094")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()[all …]
56 assertTrue(AddressUtils.isLiteralIpAddress("127.0.0.1")); in test_isLiteralIpAddress_IPv4_Success()57 assertTrue(AddressUtils.isLiteralIpAddress("255.255.255.255")); in test_isLiteralIpAddress_IPv4_Success()58 assertTrue(AddressUtils.isLiteralIpAddress("0.0.00.000")); in test_isLiteralIpAddress_IPv4_Success()59 assertTrue(AddressUtils.isLiteralIpAddress("192.009.010.19")); in test_isLiteralIpAddress_IPv4_Success()60 assertTrue(AddressUtils.isLiteralIpAddress("254.249.190.094")); in test_isLiteralIpAddress_IPv4_Success()64 assertFalse(AddressUtils.isLiteralIpAddress("127.0.0.1a")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()65 assertFalse(AddressUtils.isLiteralIpAddress(" 255.255.255.255")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()66 assertFalse(AddressUtils.isLiteralIpAddress("0.0.00.0009")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()67 assertFalse(AddressUtils.isLiteralIpAddress("192.009z.010.19")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()68 assertFalse(AddressUtils.isLiteralIpAddress("254.249..094")); in test_isLiteralIpAddress_IPv4_ExtraCharacters_Failure()[all …]
46 && !isLiteralIpAddress(sniHostname) in isValidSniHostname()54 static boolean isLiteralIpAddress(String hostname) { in isLiteralIpAddress() method in AddressUtils
47 && !isLiteralIpAddress(sniHostname) && !sniHostname.endsWith(".") in isValidSniHostname()54 static boolean isLiteralIpAddress(String hostname) { in isLiteralIpAddress() method in AddressUtils