History log of /libcore/luni/src/test/java/libcore/java/net/OldSocketTest.java
Revision Date Author Comments
2b096f630d94f957b981ef511c70c856893dc47e 16-Oct-2012 Elliott Hughes <enh@google.com> Fix test flakiness.

Support_PortManager is a bad idea, badly implemented. Kill some more of it.
Only OldDatagramSocketTest still uses Support_PortManager, so hopefully we
can kill this completely soon.

Bug: 7347233
Change-Id: I9dec7b23d59edc8c7a5e391dd5ebccd2a92f82b5
ec8de076ac382cded43952ba0c2972282b09e1c7 24-Oct-2011 Elliott Hughes <enh@google.com> Fix socket timeout test failures.

The kernel uses awkward device-specific units that make tests with timeouts
that aren't integer multiples of a second awkward.

There's no common superclass for the various sockets, so we can't factor
out the test even though -- apart from the creation of the specific socket --
it's textually identical in each case. Nice library design, boys!

I've also fixed a couple of CloseGuard warnings in passing.

Bug: 5159133
Change-Id: Iaf4c9891b3cf2f5b3ebcee5cb2ba862157ab034e
04e25f30524dc7b51f280912d6ca97d991ae84b0 24-Oct-2011 Elliott Hughes <enh@google.com> Fix socket timeout test failures.

The kernel uses awkward device-specific units that make tests with timeouts
that aren't integer multiples of a second awkward.

There's no common superclass for the various sockets, so we can't factor
out the test even though -- apart from the creation of the specific socket --
it's textually identical in each case. Nice library design, boys!

I've also fixed a couple of CloseGuard warnings in passing.

Bug: 5159133
Change-Id: Iaf4c9891b3cf2f5b3ebcee5cb2ba862157ab034e
a29cfae03ee194774639c8ee7d2d69747caeacfb 07-May-2011 Elliott Hughes <enh@google.com> Test fixes.

There are many IPv4 loopback addresses in addition to IPv6's single one.

You can't connect from a mapped IPv4 address to an IPv6 (it times out), so
fix the EADDRINUSE test to finish a lot quicker.

Change-Id: Ifdc483683fa79b2adc7efb8de1b1f24efdfdc464
7e6cee7a973ebf3cdc32638580d777d9b45088ae 05-May-2011 Elliott Hughes <enh@google.com> A handful of networking test fixes.

The main thing is that some of the tests were relying on the presence of the
removed "java.net.preferIP*" properties.

Change-Id: I4cb1e99a13ed10c3ce14dad58579454a22b3416f
c08b5f81dbe5aba03208538570c5434a9dd0eb36 14-Jan-2011 Jesse Wilson <jessewilson@google.com> Fix test to agree with new Socket.toString() text.

Change-Id: Ia5471e3c0718b289e0477424e912e4e8ae55906a
aec2ed4b266b75aaab59c23ca71e355a9336b074 21-Oct-2010 Jesse Wilson <jessewilson@google.com> Remove tests for SecurityManager.

Many of the changes are to org.apache.harmony.* tests that we've copied
from upstream. We'll remove these duplicated tests completely once we
have the upstream Harmony tests properly integrated into CTS.

Change-Id: Idd6cfbeba5345156b207b9433928ee37b662c395
http://b/3102252
1f8243e3d2b5a3f8e0398c304d1dea0395cbc368 28-Sep-2010 Jesse Wilson <jessewilson@google.com> Remove java.net tests that are redundant with Harmony.

Change-Id: I01d6b3633a6de8a075982975d4cbf6c08e757490