History log of /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ReadOnlyDirectByteBufferTest.java
Revision Date Author Comments
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
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