History log of /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/SSLSocketFactoryTest.java
Revision Date Author Comments
c46a2ea848e7a62cd5ee24216e446ad7b9ba7629 19-Feb-2015 Piotr Jastrzebski <haaawk@google.com> Add missing package names for legacy harmony tests.

Change-Id: I7bf808c7df0c432eb64b101506a7a419521c2e14
a951e74897193848ee88ed1c5b0a1d536f403d70 04-Dec-2014 Narayan Kamath <narayan@google.com> Fix failing socket tests.

Use bogus numeric addresses instead of invalid hostnames to make
InetAddress.getAllByName fail before we ask a DNS server. This guards
against flakiness caused by evil DNS servers.

Note that from an API perspective, Socket* and SSLSocket* don't care
about *why* getAllByName failed, just that it did.

This change also fixes a test that was asserting that the exception we
throw contains a useful error message. Again, this test was changed
to use a broken numeric address.

bug: 18575971

(cherry picked from commit 83b5554108e839b0c78178a029b65fddce8983f0)

Change-Id: Ia1c521c05634ce798a61b060f4d3fbbc164bb9fc
83b5554108e839b0c78178a029b65fddce8983f0 04-Dec-2014 Narayan Kamath <narayan@google.com> Fix failing socket tests.

Use bogus numeric addresses instead of invalid hostnames to make
InetAddress.getAllByName fail before we ask a DNS server. This guards
against flakiness caused by evil DNS servers.

Note that from an API perspective, Socket* and SSLSocket* don't care
about *why* getAllByName failed, just that it did.

This change also fixes a test that was asserting that the exception we
throw contains a useful error message. Again, this test was changed
to use a broken numeric address.

bug: 18575971
Change-Id: I0b49e5e66717dc29a3401f45af0ef2d5bb955219
e82be46881b2ab9d64b35c0ee53fc359b5cfd18a 04-Dec-2014 Narayan Kamath <narayan@google.com> Rename packages to match directory structure.

Doesn't make a difference to the CTS test runner (which runs these
tests anyway) but vogar complains.

bug: 18575971

Change-Id: Ifd323300f9c70a8625c215d8ff7d48ddd18083bd
ab762bb740405d0fefcccf4a0899a234f995be13 15-Nov-2013 Narayan Kamath <narayan@google.com> Move tests from tests/api to harmony-tests. (Take 2)

This reverts commit d5e281743e55e1daa297fd8043b2d9b6e8e1bed2.

The makefile issue that caused the original build break
has been resolved.
d5e281743e55e1daa297fd8043b2d9b6e8e1bed2 15-Nov-2013 Narayan Kamath <narayan@google.com> Revert "Move tests from tests/api to harmony-tests."

This reverts commit 81bf28ad31131815d0a36a43a0eca3c29aefdfcd.

Breaks build

Change-Id: I3f1562921ffe8fdbec36971dd65db398c27c92db
81bf28ad31131815d0a36a43a0eca3c29aefdfcd 15-Nov-2013 Narayan Kamath <narayan@google.com> Move tests from tests/api to harmony-tests.

The vast majority of cleaned up harmony tests
are now in harmony-tests/src/test/org/apache/harmony/tests/

Change-Id: I56c2e484ff434b5618cf6751d602ae9f0db96b30