History log of /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ReferenceTest.java
Revision Date Author Comments
b9e360018745db5ef9dd3c9f8f096f0979e471af 10-Dec-2015 Narayan Kamath <narayan@google.com> Fix ReferenceTest#test_subclass.

The test was completely bogus. The specification explicitly states
that the GC will enqueue and clear references directly, without a
call to the corresponding methods on the Reference class. They are
provided for use from managed code only.

bug: 26115898
Change-Id: I2f2147771d2f24d35896b956ea38c33b907edfb6
523317d62c9b4472fd7adbe8c4c7e5e07c0eb8b1 05-Aug-2015 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix ReferenceQueue code (and some test)

ReferenceQueue from OpenJdk needs some more alterations
to work with OpenJdk-but-heavily-modified-to-work-with-our-GC
Reference class.

Updated ReferenceTest#test_subclass test to expect
seems to expect #clear followed by #enqueue, but android
code doesn't call any of them. I need to find someone
knowledgeable to figure out what's the expected behavior).

Change-Id: I86f9a9682d781136fb3d97023ee9de39d2a2ac1a
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