summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2018-12-06 13:20:51 +0000
committerPaul Duffin <paulduffin@google.com>2018-12-07 13:29:57 +0000
commit6e378e8b9a97b71ab126925c9f9f68eb847a67cf (patch)
tree5df9cccd0fbe973445839e373b0bb0a2b5ba45a9 /annotations/generate_annotated_java_files.py
parent5c1aad2b3cc42ac02dfb793248f1e256773637c5 (diff)
Test Android specific SSLServerSocketFactory.getDefault() behavior
SSLSocketFactory.getDefault() will recompute the default if the set of installed Security providers changers. That behavior is tested in the test_SSLSocketFactory_getDefault_cacheInvalidate method of libcore.javax.net.ssl.SSLSocketFactoryTest. SSLServerSocketFactory.getDefault() has similar behavior and this adds a new test class libcore.javax.net.ssl.SSLServerSocketFactoryTest with test method test_SSLSocketFactory_getDefault_cacheInvalidate to test that behavior. It is identical (apart from types) with the equivalent SSLSocketFactoryTest method. The Fake... classes that were nested in SSLSocketFactoryTest have been extracted so that they could be reused for the SSLServerSocketFactoryTest. Bug: 118741276 Test: atest core-tests:libcore.javax.net.ssl.SSLSocketFactoryTest Test: atest core-tests:libcore.javax.net.ssl.SSLServerSocketFactoryTest Change-Id: Iacae1087db0363cc0858097974ff3621a4d77a16
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions