On 21/02/2019 09:23, Prasanta Sadhukhan wrote:
There are tests which connects to www.google.com.
java/net/Inet6Address/PreferIPv6AddressesTest.java,
java/net/CookieHandler/TestHttpCookie.java which is an open test so I guess it
should not be a problem.
PreferIPv6AddressesTest test is specific for networking and it handle errors
properly:
} catch (UnknownHostException e) {
out.println("Unknown host " + HOST_NAME + ", cannot run test.");
return;
}
TestHttpCookie test uses various hostnames as strings in the header. It does
not connect to the hosts and works offline.
--
Best regards, Sergey.