Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Issue 446623004: This CL adds unit tests for false start connections. (Closed)

Created:
6 years, 4 months ago by mshelley
Modified:
6 years, 4 months ago
Reviewers:
davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org, wtc, Ryan Sleevi, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@sslcallback
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Rewrote false start failure test such that failure occurs during read of server's second leg. #

Total comments: 2

Patch Set 3 : Change CreateAndConnectUntilServerFinishedReceived to also handle the false start error case. #

Total comments: 2

Patch Set 4 : Deleted unnessecary declaration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -3 lines) Patch
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 9 chunks +66 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mshelley
6 years, 4 months ago (2014-08-06 00:29:06 UTC) #1
Ryan Sleevi
1) Bug # 2) Are there CLs this depends on? Is everything here dependent upon ...
6 years, 4 months ago (2014-08-06 01:23:28 UTC) #2
mshelley
On 2014/08/06 01:23:28, Ryan Sleevi wrote: > 1) Bug # > 2) Are there CLs ...
6 years, 4 months ago (2014-08-06 01:40:50 UTC) #3
Ryan Sleevi
Redirecting this particular CL to davidben.
6 years, 4 months ago (2014-08-06 01:44:10 UTC) #4
davidben
https://codereview.chromium.org/446623004/diff/20001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/446623004/diff/20001/net/socket/ssl_client_socket_unittest.cc#newcode2787 net/socket/ssl_client_socket_unittest.cc:2787: TEST_F(SSLClientSocketTest, HandshakeCallbackIsRun_WithFalseStartFailure) { Hrm. I'm not sure this test ...
6 years, 4 months ago (2014-08-06 19:12:47 UTC) #5
mshelley
Note: I confirmed in the debugger that int this test OnHandshakeCompletion is called by the ...
6 years, 4 months ago (2014-08-07 01:55:48 UTC) #6
davidben
Thanks! That's exactly the point I was thinking of for injecting the error. https://codereview.chromium.org/446623004/diff/60001/net/socket/ssl_client_socket_unittest.cc File ...
6 years, 4 months ago (2014-08-07 21:24:19 UTC) #7
mshelley
6 years, 4 months ago (2014-08-07 23:32:13 UTC) #8
davidben
lgtm, thanks! Sorry about churn. https://codereview.chromium.org/446623004/diff/120001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/446623004/diff/120001/net/socket/ssl_client_socket_unittest.cc#newcode828 net/socket/ssl_client_socket_unittest.cc:828: scoped_ptr<StreamSocket> real_transport = scoped_ptr<StreamSocket>( ...
6 years, 4 months ago (2014-08-08 17:53:35 UTC) #9
mshelley
The CQ bit was checked by mshelley@chromium.org
6 years, 4 months ago (2014-08-11 23:59:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mshelley@chromium.org/446623004/140001
6 years, 4 months ago (2014-08-12 00:06:48 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 14:30:40 UTC) #12
Message was sent while issue was closed.
Change committed as 288955

Powered by Google App Engine
This is Rietveld 408576698