c717bd905888426a65f4f3e44efc28f5d41e7767 |
|
18-Mar-2016 |
Kenny Root <kroot@google.com> |
Fix what .getPeerHost() test expects Since .getPeerHost() shouldn't really do a reverse lookup if it only has an IP address, we directly ask the serverSocket what its address was. This should be robust if someone in the future were to change .getLocalSocketAddress() to be based on a name like "localhost" instead of the current INADDR_ANY logic. (cherry picked from commit 6edda46911513fdff8bd30052c31fa8aa492dea9) Bug: 27692206 Change-Id: Icc062797f12fbc3a1aba6fb3dc421461a7895f4d
|
01cf2b259d3cdb98b99e403c74141fe602d6720b |
|
18-Mar-2016 |
Kenny Root <kroot@google.com> |
Fix what .getPeerHost() test expects Since .getPeerHost() shouldn't really do a reverse lookup if it only has an IP address, we directly ask the serverSocket what its address was. This should be robust if someone in the future were to change .getLocalSocketAddress() to be based on a name like "localhost" instead of the current INADDR_ANY logic. (cherry picked from commit 6edda46911513fdff8bd30052c31fa8aa492dea9) Bug: 27692206 Change-Id: Icc062797f12fbc3a1aba6fb3dc421461a7895f4d
|
c5350fa95bdd2acd67277b9766691aa206f5c782 |
|
12-Feb-2016 |
Kenny Root <kroot@google.com> |
SSLSessionTest: compare equality of SSLSession by contents If the SSLSession received from the cache was not the exact same object, the #getId() tests would fail. Instead compare the SSLSession by its contents. This has cropped up now because we have ExtendedSSLSession in addition to SSLSession. Conscrypt, in order to maintain backward compatibility for unbundled builds, wraps its internal SSLSession implementation with a delegating subclass of ExtendedSSLSession in order to implement newer method calls in terms of its internal implementation without sacrificing the ability to build against previous versions. (cherry picked from commit 1a3e2a79e78132f00c907a9d64cd0f5a45568796) Bug: 27123298 Change-Id: Id6b446b146941532373ab7fcfc6b3ca464b3aabf
|
4a703242e4014a598875205a81edaaae04b41840 |
|
12-Feb-2016 |
Kenny Root <kroot@google.com> |
SSLSessionTest: compare equality of SSLSession by contents If the SSLSession received from the cache was not the exact same object, the #getId() tests would fail. Instead compare the SSLSession by its contents. This has cropped up now because we have ExtendedSSLSession in addition to SSLSession. Conscrypt, in order to maintain backward compatibility for unbundled builds, wraps its internal SSLSession implementation with a delegating subclass of ExtendedSSLSession in order to implement newer method calls in terms of its internal implementation without sacrificing the ability to build against previous versions. (cherry picked from commit 1a3e2a79e78132f00c907a9d64cd0f5a45568796) Bug: 27123298 Change-Id: Id6b446b146941532373ab7fcfc6b3ca464b3aabf
|
1a3e2a79e78132f00c907a9d64cd0f5a45568796 |
|
12-Feb-2016 |
Kenny Root <kroot@google.com> |
SSLSessionTest: compare equality of SSLSession by contents If the SSLSession received from the cache was not the exact same object, the #getId() tests would fail. Instead compare the SSLSession by its contents. This has cropped up now because we have ExtendedSSLSession in addition to SSLSession. Conscrypt, in order to maintain backward compatibility for unbundled builds, wraps its internal SSLSession implementation with a delegating subclass of ExtendedSSLSession in order to implement newer method calls in terms of its internal implementation without sacrificing the ability to build against previous versions. Bug: 27123298 Change-Id: Id6b446b146941532373ab7fcfc6b3ca464b3aabf
|
c46a2ea848e7a62cd5ee24216e446ad7b9ba7629 |
|
19-Feb-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Add missing package names for legacy harmony tests. Change-Id: I7bf808c7df0c432eb64b101506a7a419521c2e14
|
e82be46881b2ab9d64b35c0ee53fc359b5cfd18a |
|
04-Dec-2014 |
Narayan Kamath <narayan@google.com> |
Rename packages to match directory structure. Doesn't make a difference to the CTS test runner (which runs these tests anyway) but vogar complains. bug: 18575971 Change-Id: Ifd323300f9c70a8625c215d8ff7d48ddd18083bd
|
b52bc3ea9e79642c275ea6d9ac2342b5746e55c9 |
|
13-Jan-2014 |
Alex Klyubin <klyubin@google.com> |
Fix test breakage in Harmony SSLSessionTest. The breakage was caused by the SSLSessionTest assuming that TLS/SSL connections by default handshake to the SSL_RSA_WITH_RC4_128_MD5 cipher suite. Bug: 11220570 Change-Id: Ib1ac44f83c968ec3dc7432339e1fc0f64d63733f
|
9de94e4aaa6de951d1c7ca08d137d57b36d24fa3 |
|
19-Dec-2013 |
Alex Klyubin <klyubin@google.com> |
Fix test breakages due to TLSv1.2 enabled and FS preferred. Bug: 11220570 Change-Id: Ic918e806ae1d8ea9b98c690cfabd9c3245886525
|
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
|