History log of /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/SubjectTest.java
Revision Date Author Comments
14dca37c2ca66d2c1649a7ffe157ec1f037646a4 14-Sep-2016 Sergio Giro <sgiro@google.com> javax.security.auth.Subject: port this class from jdk8u60

- Changes to serialization/deserialization: be more tolerant about
deserializing objects: tolerate null values and lists other than
linked lists. This is tricky to test, as such objects cannot
be created in the current implementation. Serialization, is
otherwise tested in SubjectTest. Added tests to document behaviour
of null values.
- Throw NullPointerException immediately in the SecureSet set
implementation used to store principals and credentials.
- Cosmetic changes like use of @code instead of <code> tags.

Bug: 29631070
Test: vogar SubjectTest
Change-Id: I5cb007db2f44e78ea668444372810f6355fab5ba
62542d811e9bc4126ef912bc6e60e1b9952b4e09 25-Nov-2013 Narayan Kamath <narayan@google.com> Import missing harmony tests for javax.security.auth.

Mostly missing serialization tests.

Also
- Fix up package names for tests.
- Move tests under the right subpackage where applicable.

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