• Home
  • History
  • Annotate
  • only in /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
History log of /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10bac63511d71b86bc753215c72bd805d407566a 06-Jun-2016 Shubham Ajmera <shubhamajmera@google.com> Correct address fields in ByteBufferAsXBuffer classes

The value of the address field should be equals to the first element of
the ByteBufferAsXBuffer class, previously, it was pointing to the first
element of the underlying directbytebuffer object.

Bug: 28964300
(cherry-picked from commit e0f383ffa625e584e81061ef4ddef83a9f48809e)
Change-Id: I6dfc98ba408c524580198ea168923981b23a0bc2
irectCharBufferTest.java
irectDoubleBufferTest.java
irectFloatBufferTest.java
irectIntBufferTest.java
irectLongBufferTest.java
irectShortBufferTest.java
fb376ca44c4c3ed1d53b93f32712c4efc9490a76 18-Apr-2016 Shubham Ajmera <shubhamajmera@google.com> Add unit tests for FileChannel#lock #tryLock

The change adds more test for FileChannel #lock and #tryLock.

The change also includes test for overlapping lock using different file
channels.

Bug: 27186422
Change-Id: Ib040bb28d8ce8417d2cd8fb2c81a9d50519e8fde
hannels/FileChannelTest.java
fb34431c917d206542a3eeb42338f8fb42fc40a9 30-Mar-2016 Przemyslaw Szczepaniak <pszczepaniak@google.com> Handle recvfrom() returning 0.

According to the Linux man page, recvfrom() can return 0 when the peer has performed an orderly shutdown. This also happens when other thread uses a shutdown function on a socket file descriptor.

libcore.io.Posix#recvfrom was treating this case as a success and
was trying to interpret unpopulated sockaddr structure, throwing
IllegalArgumentException in result.

DatagramChannel#receive in same case would return
last previously seen SocketAddress.

This change makes sure that libcore.io.Posix#recvfrom and
java.nio.channels.DatagramChannel handle this case correctly.

Bug: 27294715
Bug: 27233089
Change-Id: I1ec58327efbe9ea6b8d36716756a02987e3b9897
(cherry picked from commit 6e888e9390649a9ab2557da5b28bb75be39e1b74)
hannels/DatagramChannelTest.java
dbbe65b6a81ad02bc3bd432f21dccce6c0242cdb 19-Feb-2016 Narayan Kamath <narayan@google.com> nio: Add unit tests for setOption / getOption.

This also revealed an asymmetry in our APIs. The class defined
setOption but was missing a getOption method (inherited from
NetworkChannel).

bug: 27186457

Change-Id: I823af602b258bfc5f7508dc767af7f8dc4fcf537
hannels/MockDatagramChannel.java
624c527fb97947c4f8333f2b27c9a9306e29cd1c 09-Feb-2016 Przemyslaw Szczepaniak <pszczepaniak@google.com> Remove java.nio.channels.* classes without test coverage.

Removed classes come from openJdk 1.7 and were never
implemented before. We lack a testing suite to verify that
they are working correctly. Those clasess might by
re-added in further releases

Bug: 27117463
Change-Id: I0ebd8e46c31992f7db158a6abaaeb2180f36f1cb
(cherry picked from commit ae2e19f0088a92c7a2a24385a6383ba7749413d3)
hannels/MockDatagramChannel.java
0f153ca202c986addbb6f481a6f922aa5158c797 23-Dec-2015 Shubham Ajmera <shubhamajmera@google.com> Fix alignment test for DirectByteBuffer

Only the original DirectByteBuffer needs to be aligned according to the
Use Case. When SliceDirectByteBuffer is generated, the address gets
shifted by the offset, as a result, it will not be aligned always.

Bug: 26301669
Change-Id: I49d3bda5850bf64667c1e9df62267b00cc9a61ec
irectByteBufferTest.java
3e74baeab01f875390d42418719e42bec7d8f8a4 16-Dec-2015 Shubham Ajmera <shubhamajmera@google.com> Merge "Fix isAccessible and alignment test"
6bda99d7c5925424038d3ab385e1dfed10ee1c8b 15-Dec-2015 Paul Duffin <paulduffin@google.com> Fixed test_register_LSelectorI_error to make it work with OpenJdk

The test expected a NPE to be thrown when attempting to register
a previously closed selector. The OpenJdk implementation throws
a much more meaningful ClosedSelectorException. This fixes the
test to check for that exception.

Bug: 26141155
Change-Id: I5c18a3923c81f1e4ddacf1aac73cbd9b860bc7dc
hannels/spi/AbstractSelectorTest.java
7c00153cbe952a4e7552cdd815c95a90f31ead9b 11-Dec-2015 Shubham Ajmera <shubhamajmera@google.com> Fix isAccessible and alignment test

The test was trying to modify the content of the array after setting the
isaccessible flag to true, however it wasn't handling isReadOnly flag at
the same time.

alignment test is now added in harmony-tests. This will enable the test
to run on the other types of DirectByteBuffers.

Bug: 26140694
Change-Id: Ie4b98a13d9249a3f802ce17f268f188cac22af74
irectByteBufferTest.java
eadOnlyDirectByteBufferTest.java
1817e4d9ef742ceebb2d6a04d624c086686b42ba 09-Dec-2015 Shubham Ajmera <shubhamajmera@google.com> Fix DirectByteBufferAlignment

and also an issue which was causing problems while accessing
ByteBufferArray when the buffer was created as duplicate/slice of a
duplicate/slice. A unit test was added for the same.

Bug: 26020981
Change-Id: Ice6c1d484b6fd68221f079949faed7d982230c1d
liceDirectByteBufferTest.java
liceSliceDirectByteBufferTest.java
d556642d9c5ef258a0867b0101842fae10165f64 25-Nov-2015 Shubham Ajmera <shubhamajmera@google.com> DirectByteBuffer fix

The buffer was being copied in the wrong direction(it should be in the
reversed direction i.e. from current position to the end).

Also, there were different methods used for directbytebuffers and
heapbytebuffer as the previous implementation was using different
method to access the memory. The change will now allow it to use
the same set of instructions for both the buffers.

Added the corresponding unit test.

Bug: 25881506
Change-Id: If8ce299b26a78021e8c66ada35ee5ebec6ca64b1
yteBufferTest.java
f4145724170d5e3e52b3bf683d527fa5698cb12d 25-Nov-2015 Shubham Ajmera <shubhamajmera@google.com> isAccessible flag fixes

Made the default value as true, and corrected the if accessible
condition. Also added a unit test for it.

Bug: 25880216
Change-Id: I6152a524670fa32b26afab33b6873ae31aae9515
irectByteBufferTest.java
70b617fe562806bc3e15452a2792fec4355bd54f 20-Nov-2015 Przemyslaw Szczepaniak <pszczepaniak@google.com> Merge mnc-dr-enso-dev into master

OpenJDK adjustments for master.
- Restored removed libcore.icu.* classes (needed
by the openjdk java.text.* classes). This will be
undone in short future.
- Adjusted java.lang.* and java.lang.reflect.* classes
for native reflection and other changes in master.

Bug: 25758743
Change-Id: Ifbbe5b1e8661138fc32ad24127f76f711dd585b7
bf07204bff37fa34dbdb32e0a9d790d97ef46a81 12-Nov-2015 Narayan Kamath <narayan@google.com> Merge lmp changes into mnc.

Change-Id: I8f49c58f39dc5f4268c6b5718cab18ed26ac930a
069d99326386490f9492afd824a364c5fb645e41 21-Oct-2015 Shubham Ajmera <shubhamajmera@google.com> ByteBuffer: Removed the readonly variant

Added isReadOnly flag in HeapByteBuffer. New constructors are
added for handling isReadOnly flag along with some write
checks for put methods.

Change-Id: I468a92fdd1140db48d7c4f1442cb9ff0e6298a49
yteBufferTest.java
2808d7d77be71a40b9724172fc6be4c3db68d507 10-Aug-2015 Narayan Kamath <narayan@google.com> SocketChannel fixes.

- Be more consistent about the type of exception that's being
thrown (nio "style" vs SocketExceptions).
- Convert AlreadyConnectedException correctly.
- Update test expectations.
- Remove a pointless test of hasArray() for direct byte buffers.
It is not this tests responsibility.

Change-Id: I9e47670fbdd24546b9f219dafb6371b086928c95
hannels/SocketChannelTest.java
b304b288d1deafd07ee13e1540acc0a22db07736 06-Aug-2015 Narayan Kamath <narayan@google.com> Fix bogus comparison tests for Double / Float.

Also, minor change to use Double.compare() instead of a custom
implementation.

Change-Id: I3da0b5ae277f5badbeda8cf987e31381023cfeed
oubleBufferTest.java
loatBufferTest.java
d2ace8625cf007b9f1b9f16a022d92cad3045257 06-Aug-2015 Narayan Kamath <narayan@google.com> Fix CharBuffer#put(String, int, int)

- Must be transactional, test that there's enough space for
the string before attempting to write it.
- Don't check buffer writeability for 0 length writes.

Change-Id: I56893aa61460b930b9a87bdb6efe9191efdc301c
eadOnlyCharBufferTest.java
55f4e6492769b61850c43750a9182a017119e473 06-Aug-2015 Narayan Kamath <narayan@google.com> Fix bogus fix in FileChannelImpl.

We should truncate if the requested size is *less* than the
file size, not greater.

Also update test expectations for Channels from appendable
FileOutputStreams. They must be positioned at the end of the file.

Change-Id: I214e9f1ed8d1833c85a801e96191ff61998a2d5b
hannels/FileChannelTest.java
0319995669db3d4cd8fcb73e01f9beaa1106bf2f 06-Aug-2015 Narayan Kamath <narayan@google.com> Fix ChannelsTest

Use public methods in ChannelInputStream to read from Channels
so that we throw the right sort of exception for non-blocking
Selectable channels.

Also amend a few tests that were making bogus assumptions about
isReady(). Channels derived from File input / output streams are
always ready.

Change-Id: I689eec640f6a51e0f92dea906f19d4f8a50959bb
hannels/ChannelsTest.java
396f2361ba82cce530a4ff8aa9ac0780af8d4d56 06-Aug-2015 Narayan Kamath <narayan@google.com> Fix DatagramChannel tests.

- Add native implementation.
- Minor behavioural change : receive from a null address
must not attempt to bind.

Change-Id: I308cacf4f03bad8e6062ee9e83b5e3e0fa7a6310
hannels/DatagramChannelTest.java
3d43823e17818b3c5f45831f830884917b181454 05-May-2015 Piotr Jastrzebski <haaawk@google.com> Use OpenJdk implementation of java.nio.channels.{spi}.*

- Unsafe : Add supporting methods (addressSize, pageSize,
allocateMemory, freeMemory, setMemory and various getters
equivalent to the existing libcore Memory classes).
- NioUtils : Rewrite nioutils methods in terms of OpenJdk classes.
- DeleteOnExitHook : Access java.lang.Shutdown directly.
- FileDescriptor : Add getInt$, setInt$ and setSocket.
- NativeBuffers : Copy byte-by-byte instead of using Unsafe.copyMemory.
- FileInputStream : Add a custom implementation of available() instead
of using IO_Available.

General : Switch JNI code to explicit registration rather than
implicit registration.

General : Track renaming of Unsafe methods (to add the $ suffix). This
might be unnecessary and will be reverted in a future change.

Change-Id: I7e63340d266dbd4b1c425b13710c05dce1086d4b
hannels/MockDatagramChannel.java
hannels/MockServerSocketChannel.java
hannels/MockSocketChannel.java
hannels/SocketChannelTest.java
d0b42d7f4cf171542975e53126cd7ae41bbf7083 28-Apr-2015 Piotr Jastrzebski <haaawk@google.com> Fix ChannelsTest.

Change-Id: I06101d601f6ce209c0ba29f654c56ff2c4e1f3c7
hannels/ChannelsTest.java
719f2e5343ff2bba8f240e3fbe569a5078d9fafc 02-Jul-2015 Neil Fuller <nfuller@google.com> Fix test to avoid a fixed local port

The test now picks a free port rather than using a hardcoded
one.

Bug: 17979533
Change-Id: I84ac8e7ff00e106476210a1935fc41f9b5580ab2
hannels/SinkChannelTest.java
9006e31bc25f3f3282d6d39f09e5dda5bd1be1ce 22-Jun-2015 Narayan Kamath <narayan@google.com> Add CTS test for unaligned reads / writes with swaps.

bug: 21491780

(cherry picked from commit 11b2b3f7d8ef8538bdda11db197eb68aa662678e)

Change-Id: I22a7307694dbd554566d8992e187f504665d5506
irectByteBufferTest.java
11b2b3f7d8ef8538bdda11db197eb68aa662678e 22-Jun-2015 Narayan Kamath <narayan@google.com> Add CTS test for unaligned reads / writes with swaps.

bug: 21491780

Change-Id: Icf3f1c267e3e86077d25f23e537c46bb05e8480f
irectByteBufferTest.java
1895955344b23f4d8a01596906a62f521c5463ef 12-Jan-2015 Narayan Kamath <narayan@google.com> Add a unit test to demonstrate ICU CharsetProvider problems

Also add a single FakeCharsetProvider for unit tests that
does nothing by default, so that we can stub it in for tests
that do care about it and none of our other tests are affected.

Change-Id: I03abb8f1aff53c160935b4cdbeaef764d30f240a
harset/CharsetTest.java
bf48d2be36b35619309c70dce565d98cc3d17b1b 25-Jul-2014 Samuel Rats <samuel.rats@gmail.com> Fix Harmony-707 test for CTS

Change the way Harmony-707 test works.
We cannot check timeouts equality, as timeout is approximated
by the Linux Kernel (see set_sock_timeout() in net/core/sock.c).

Previously, testing with the value provided to setSoTimout()
could fail, depending on the Kernel configuration:
- On a device running a kernel compiled with CONFIG_HZ=100,
it would work
- On a device running a kernel compiled with CONFIG_HZ=250,
it would not:
* Kernel stored a timeout of 3 (3.49975 cast to long)
*timeo_p = tv.tv_sec*HZ + (tv.tv_usec+(1000000/HZ-1))/(1000000/HZ)
with tv.tv_sec=0, tv.tv_usec=10000 (10ms), and HZ=250
* Kernel returned a timeout of 12ms
v.tm.tv_usec = ((sk->sk_rcvtimeo % HZ) * 1000000) / HZ
with sk->sk_rcvtimeo=3 and HZ=250

Instead, we have to ensure that the timeout is not reset to the
internal default timeout after calling accept():
- set a timeout
- immediately retrieve it and store it (this value may differ
from the previously set value)
- call accept()
- retrieve and check the timeout with the previously stored
timeout

Change-Id: I7f05c6843d9e48e6d696dca17173fce028a45a68
Signed-off-by: Samuel Rats <samuel.rats@gmail.com>
hannels/ServerSocketChannelTest.java
0aff1dd0b4be1b8d8cb45b59079ca883a1b3205a 17-Jun-2014 Elliott Hughes <enh@google.com> Remove.

(cherry-pick of 63744c884dd4b4f4307f2b021fb894af164972af.)

Change-Id: Ibf79a402e1bad98a262e380fcee3d35c127ae6d5
hannels/DatagramChannelTest.java
hannels/FileChannelTest.java
hannels/FileLockTest.java
hannels/ServerSocketChannelTest.java
hannels/SocketChannelTest.java
a10637a26dc17501789edde0f4675e1639741f71 12-Mar-2014 Neil Fuller <nfuller@google.com> 1.7 interoperability changes for FileLock

Adding acquiredBy(). This method is effectively a synonym for
channel().

Change-Id: Ifa0b89debb42a7181f1f5f188ae7175970286adb
hannels/FileChannelTest.java
hannels/FileLockTest.java
47ae0b5a1d96c8030e0963ccc5b44c3ee66aaec3 20-Jan-2014 Neil Fuller <nfuller@google.com> Implementing bind() and getLocalAddress() for NIO2.

This change introduces NetworkChannel, but only bind() and
getLocalAddress() methods. To avoid breaking existing Android
applications that extend ServerSocketChannel, DatagramChannel and
SocketChannel the methods have been added with concrete
implementations that throw exceptions rather than leaving them
abstract.

In channel tests, usages of channel.socket().bind() and
channel.socket().getLocalSocketAddress() have been changed to
channel.bind() and channel.getLocalAddress(), since the behavior is
close enough and the tests should be written against the channel APIs
as much as possible. Tests have been added for new methods.

Removed further overriding in
DatagramChannelImpl.DatagramSocketAdapter and
SocketChannelImpl.SocketAdapter which revealed some bugs and lack of
clarity in the docs for the socket methods:

Improved the documentation for DatagramSocket.getLocalAddress(),
DatagramSocket.getLocalSocketAddress(),
ServerSocket.getInetAddress(), ServerSocket.getLocalPort(),
ServerSocket.getLocalSocketAddress(), Socket.getLocalAddress(),
Socket.getLocalPort(), Socket.getLocalSocketAddress(). These methods
treat special cases differently.

Fixed a bug in DatagramSocket.getLocalSocketAddress() where it would
incorrect throw an exception if the socket has been closed, which
contradicts the (updated) documentation and the RI. It now returns
null. Added tests.

Fixed a bug in Socket.close(): a closed socket would still report as
being connected. Added tests.

Fixed a bug in Socket.startupSocket() - the socket was recording it
was being bound, but was not updating the cached local address. This
method is called during ServerSocketChannel.accept() and would cause
the socket to report its local address as being the wildcard address,
when it is not. Added a test.

Change-Id: Ibec8527e1c72597e268d23e6c1f03eb16e46cdc4
Bug: 12464155
hannels/DatagramChannelTest.java
hannels/ServerSocketChannelTest.java
hannels/SocketChannelTest.java
933fbbf606268eec9fc430632b8bca7002a833b3 14-Jan-2014 Neil Fuller <nfuller@google.com> Refactoring in preparation for NIO2 changes.

Making the various Socket/Channel classes more consistent with each
other for synchronizing state between the Channel, Socket and the OS.
This is in preparation for NetworkChannel.bind().
Synchronizing state revealed a test that relied upon a Socket from a
channel not reporting isConnected() properly after a connect(). Tests
have been updated.

Reading the local address back from the OS revealed that Android is
using IPv6 and reports the string equivalent of IPv4's 0.0.0.0 as
"::". Updated a test that was relying on the string form.

Calling connect() twice on a DatagramSocket appears inconsistent with
itself and Channel and other Sockets. A pure DatagramSocket switches
over to the new remote address. I have changed the Channel-backed
DatagramSocket to throw an IllegalStateException exception, and have
created a bug to discuss making the calls more consistent.

Socket has been modified to avoid using the address field to store
the local address after a bind(). This field is documented as holding
the remote address, not the local.

Changed implementation of SocketChannelImpl.socket().getInputStream()
and SocketChannelImpl.socket().getOutputStream() to use the one that
is implemented by Socket and not a custom NIO-based implementation.
The use of NIO provided two parallel implementations for the same
thing. This change alters behavior when attempting to read zero bytes
and when a Channel is in non-blocking mode: now it throws
IllegalBlockingModeException rather than
ArrayIndexOutOfBoundsException. The tests have been updated.

Various tidying up changes to introduce @Override, remove
unnecessarily initialized local variables, fields, semi-colons,
javadocs and imports. Added close() calls for objects during tests
that were cluttering the logs.

Modified IoBridge.connect() to be void. Adjusted SocketChannelImpl
accordingly and tidied up impossible cases. Modified
SocketChannel.connect() so that it always returns false in
non-blocking mode. This looks like an existing bug:
it would previously have returned true, even though the connection
was potentially still pending. Tests have been added.

Also tidied up SocketChannelImpl.finishConnect() - it was potentially
resetting the isBound state.

Change-Id: Ic7943615b4b763f77e74397e0e91a62edc7d7017
bug: 12464155
hannels/DatagramChannelTest.java
hannels/MockDatagramChannel.java
hannels/MockServerSocketChannel.java
hannels/MockSocketChannel.java
hannels/SocketChannelTest.java
82c642531ba3c9ad29cb3125f7547a226b661b11 02-Jan-2014 Narayan Kamath <narayan@google.com> Delete Support_PortManager & OldDatagramSocketTest

Support_PortManager didn't really work, so rewrite all tests
that use it.

Also, dedup OldDatagramSocketTest with the harmony DatagramSocketTest.

Fix various broken test cases and terribly written tests.

bug: 11689863

Change-Id: I4efb9e02eb88517273fff50a0dec1d0262feafb2
hannels/ChannelsTest.java
hannels/DatagramChannelTest.java
hannels/SelectionKeyTest.java
hannels/ServerSocketChannelTest.java
hannels/SocketChannelTest.java
5b9ea87a5ac3acd3a4c5209a4c335ce8c6563a12 12-Dec-2013 Narayan Kamath <narayan@google.com> Address review comments.

Automatic IntelliJ reformatting of a weirdly formatted
test.

Change-Id: I9ce29d9004dfe625a8479a77230248db3d1b9e3b
harset/ASCIICharsetEncoderTest.java
91bb19d2ef9822cfb50fd1191cdb3ee06e2939b9 27-Nov-2013 Narayan Kamath <narayan@google.com> Fix a CharsetEncoder bug.

When malformed or unmappable characters span input
buffers, we'd end up setting a negative position on the
buffer.

Also fix up a few test cases which were wrong in
several ways.
- One test was simply checking for the wrong sort
of exception (unmappable vs malformed)
- Another test was expecting encode() to throw an
error (and ignoring flush) but the API allows flush
to throw an error instead of encode.

bug: 10729779

Change-Id: I6560b749ca2445651d61ca651f8a5e388cf1c1b0
harset/ASCIICharsetEncoderTest.java
5f1d50932b9ce1e21e8588abe3bbd6bad649247a 27-Nov-2013 Narayan Kamath <narayan@google.com> Delete a few bad test cases from CharsetEncoderTest.

These tests were added in commit 5ec6bf8d0 and were
assumed to have been caused by an ICU bug. They were
in fact caused by bugs in our ICU glue code and those
issues have now been fixed.

Change-Id: Ia21a5b466eea685f175fa370d9e2b3b3342cd1b8
harset/CharsetEncoderTest.java
e5fea3d504609d22337a5311d3ce0e72314bceee 15-Nov-2013 Narayan Kamath <narayan@google.com> Use a consistent package path for harmony tests.

Harmony was never consistent about where they put their
tests. There's no reason we have to be the same.

Also, there's no need to have separate subtrees for nio,
nio_char etc. etc.

This change makes all existing apache harmony tests
subpackages of "org.apache.harmony.tests" and put them under
libcore/harmony-tests.

We somehow managed to end up with two vastly different
copies of CharsetDecoderTest & CharsetEncoderTest. I've
renamed the copies CharsetDecoder2Test & CharsetEncoder2Test
to avoid having to go in and resolve the complicated
diffs or speculate about the reasons for their
divergence.

Change-Id: Ic34e69c2faab8893edd54e05eccd7091f4a09abd
bstractBufferTest.java
ufferOverflowExceptionTest.java
ufferUnderflowExceptionTest.java
yteBufferTest.java
yteOrderTest.java
harBufferTest.java
irectByteBufferTest.java
irectCharBufferTest.java
irectDoubleBufferTest.java
irectFloatBufferTest.java
irectIntBufferTest.java
irectLongBufferTest.java
irectShortBufferTest.java
oubleBufferTest.java
uplicateDirectByteBufferTest.java
uplicateHeapByteBufferTest.java
uplicateWrappedByteBufferTest.java
loatBufferTest.java
eapByteBufferTest.java
eapCharBufferTest.java
eapDoubleBufferTest.java
eapFloatBufferTest.java
eapIntBufferTest.java
eapLongBufferTest.java
eapShortBufferTest.java
ntBufferTest.java
nvalidMarkExceptionTest.java
ongBufferTest.java
appedByteBufferTest.java
eadOnlyBufferExceptionTest.java
eadOnlyCharBufferTest.java
eadOnlyDirectByteBufferTest.java
eadOnlyDoubleBufferTest.java
eadOnlyFloatBufferTest.java
eadOnlyHeapByteBufferTest.java
eadOnlyHeapCharBufferTest.java
eadOnlyHeapDoubleBufferTest.java
eadOnlyHeapFloatBufferTest.java
eadOnlyHeapIntBufferTest.java
eadOnlyHeapLongBufferTest.java
eadOnlyHeapShortBufferTest.java
eadOnlyIntBufferTest.java
eadOnlyLongBufferTest.java
eadOnlyShortBufferTest.java
eadOnlyWrappedByteBufferTest.java
eadOnlyWrappedCharBufferTest1.java
eadOnlyWrappedDoubleBufferTest.java
eadOnlyWrappedFloatBufferTest.java
eadOnlyWrappedIntBufferTest.java
eadOnlyWrappedLongBufferTest.java
eadOnlyWrappedShortBufferTest.java
hortBufferTest.java
liceDirectByteBufferTest.java
liceHeapByteBufferTest.java
liceWrappedByteBufferTest.java
rappedByteBufferTest.java
rappedCharBufferTest1.java
rappedCharBufferTest2.java
rappedDoubleBufferTest.java
rappedFloatBufferTest.java
rappedIntBufferTest.java
rappedLongBufferTest.java
rappedShortBufferTest.java
hannels/AlreadyConnectedExceptionTest.java
hannels/AsynchronousCloseExceptionTest.java
hannels/CancelledKeyExceptionTest.java
hannels/ChannelsTest.java
hannels/ClosedByInterruptExceptionTest.java
hannels/ClosedChannelExceptionTest.java
hannels/ClosedSelectorExceptionTest.java
hannels/ConnectionPendingExceptionTest.java
hannels/DatagramChannelTest.java
hannels/FileChannelLockingTest.java
hannels/FileChannelTest.java
hannels/FileLockInterruptionExceptionTest.java
hannels/FileLockTest.java
hannels/IllegalBlockingModeExceptionTest.java
hannels/IllegalSelectorExceptionTest.java
hannels/MapModeTest.java
hannels/MockDatagramChannel.java
hannels/MockServerSocketChannel.java
hannels/MockSocketChannel.java
hannels/NoConnectionPendingExceptionTest.java
hannels/NonReadableChannelExceptionTest.java
hannels/NonWritableChannelExceptionTest.java
hannels/NotYetBoundExceptionTest.java
hannels/NotYetConnectedExceptionTest.java
hannels/OverlappingFileLockExceptionTest.java
hannels/PipeTest.java
hannels/SelectableChannelTest.java
hannels/SelectionKeyTest.java
hannels/SelectorTest.java
hannels/ServerSocketChannelTest.java
hannels/SinkChannelTest.java
hannels/SocketChannelTest.java
hannels/SourceChannelTest.java
hannels/UnixSelectorTest.java
hannels/UnresolvedAddressExceptionTest.java
hannels/UnsupportedAddressTypeExceptionTest.java
hannels/spi/AbstractInterruptibleChannelTest.java
hannels/spi/AbstractSelectableChannelTest.java
hannels/spi/AbstractSelectionKeyTest.java
hannels/spi/AbstractSelectorTest.java
hannels/spi/MockAbstractSelector.java
harset/ASCCharsetDecoderTest.java
harset/ASCCharsetTest.java
harset/ASCIICharsetEncoderTest.java
harset/AbstractCharsetTestCase.java
harset/CharacterCodingExceptionTest.java
harset/CharsetDecoder2Test.java
harset/CharsetDecoderTest.java
harset/CharsetEncoder2Test.java
harset/CharsetEncoderTest.java
harset/CharsetTest.java
harset/CoderMalfunctionErrorTest.java
harset/CoderResultTest.java
harset/CodingErrorActionTest.java
harset/GBCharsetDecoderTest.java
harset/GBCharsetEncoderTest.java
harset/ISOCharsetDecoderTest.java
harset/ISOCharsetEncoderTest.java
harset/ISOCharsetTest.java
harset/IllegalCharsetNameExceptionTest.java
harset/MalformedInputExceptionTest.java
harset/UTF16BECharsetDecoderTest.java
harset/UTF16BECharsetEncoderTest.java
harset/UTF16BECharsetTest.java
harset/UTF16CharsetDecoderTest.java
harset/UTF16CharsetEncoderTest.java
harset/UTF16CharsetTest.java
harset/UTF16LECharsetDecoderTest.java
harset/UTF16LECharsetEncoderTest.java
harset/UTF16LECharsetTest.java
harset/UTF8CharsetTest.java
harset/UTFCharsetDecoderTest.java
harset/UTFCharsetEncoderTest.java
harset/UnmappableCharacterExceptionTest.java
harset/UnsupportedCharsetExceptionTest.java