Lines Matching refs:testAddress

55         InetAddress testAddress;  in testHostToIPAddressMappings()  local
76 testAddress = InetAddress.getByName("host.sample-domain"); in testHostToIPAddressMappings()
77 retrievedIpAddr = testAddress.getAddress(); in testHostToIPAddressMappings()
88 testAddress = InetAddress.getByName("host1.sample-domain"); in testHostToIPAddressMappings()
89 retrievedIpAddr = testAddress.getAddress(); in testHostToIPAddressMappings()
95 testAddress = InetAddress.getByName("host2.sample-domain"); in testHostToIPAddressMappings()
96 retrievedIpAddr = testAddress.getAddress(); in testHostToIPAddressMappings()
105 testAddress = InetAddress.getByName("host3.sample-domain"); in testHostToIPAddressMappings()
115 testAddress = InetAddress.getByName("host4.sample-domain"); in testHostToIPAddressMappings()
125 testAddress = InetAddress.getByName("host4.sample-domain"); in testHostToIPAddressMappings()
137 testAddress = InetAddress.getByName("host-ipv6.sample-domain"); in testHostToIPAddressMappings()
138 retrievedIpAddr = testAddress.getAddress(); in testHostToIPAddressMappings()
150 InetAddress testAddress; in testIpAddressToHostNameMappings() local
165 testAddress = InetAddress.getByAddress(testHostIpAddr); in testIpAddressToHostNameMappings()
166 System.out.println("******* testAddress == " + testAddress); in testIpAddressToHostNameMappings()
167 retrievedHost = testAddress.getHostName(); in testIpAddressToHostNameMappings()
176 testAddress = InetAddress.getByAddress(testHostIpAddr2); in testIpAddressToHostNameMappings()
177 System.out.println("******* testAddress == " + testAddress); in testIpAddressToHostNameMappings()
178 retrievedHost = testAddress.getHostName(); in testIpAddressToHostNameMappings()
185 testAddress = InetAddress.getByAddress(testHostIpAddr4); in testIpAddressToHostNameMappings()
186 System.out.println("******* testAddress == " + testAddress); in testIpAddressToHostNameMappings()
187 if ("10.8.9.11".equalsIgnoreCase(testAddress.getCanonicalHostName())) { in testIpAddressToHostNameMappings()
192 … + " does not resolve as expected, testAddress == " + testAddress.getCanonicalHostName()); in testIpAddressToHostNameMappings()
199 testAddress = InetAddress.getByAddress(testHostIpAddr3); in testIpAddressToHostNameMappings()
200 System.out.println("******* testAddress == " + testAddress); in testIpAddressToHostNameMappings()
201 retrievedHost = testAddress.getCanonicalHostName(); in testIpAddressToHostNameMappings()