commit | c84b88ad047ca74ad6d6e4b3c593ac955bf7e060 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Mon Nov 15 17:39:18 2010 -0800 |
committer | Brian Carlstrom <bdc@google.com> | Tue Nov 16 16:36:27 2010 -0800 |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
parent | 6ffca5ecdc88d22f6af209e767907eefae54abea [diff] |
HttpsURLConnectionTest rewrite and URLConnectionTest updates Rewrote HttpsURLConnectionTest to work with current SSLSocket implementation which more strictly follows RI behavior. Also made upates to URLConnectionTest related to HttpsURLConnection - changed assertContent call connect() explictly to illustrate problem with https proxy case also seen by HttpsURLConnectionTest - Rewrote testConnectTimeouts to work reliably. Before if often worked on WiFi but not on mobile networks where a "HTTP/1.1 501 Bad Gateway" would be seen causing a FileNotFoundException. - Changed testConnectViaHttpProxyToHttpsUsingHttpProxySystemProperty to match expectation that https does not use the http.proxyHost values. Added new testConnectViaHttpProxyToHttpsUsingProxyArgWithNoProxy which should have the same behavior as the fixed testConnectViaHttpProxyToHttpsUsingHttpProxySystemProperty git cherry-pick -e f02c695ed03e708623d9365dec26d533356ef2d0 Bug: 3184701 Change-Id: Id25f619d2437db607deaf35aeb1d5e817514b92f
This tree is empty.