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

Issue 1158573004: Enable SequencedSocketDataTest.SingleSyncWriteTooSmall test. (Closed)

Created:
5 years, 6 months ago by cbentzel
Modified:
5 years, 6 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable SequencedSocketDataTest.SingleSyncWriteTooSmall test. SequencedSocketDataTest.SingleSyncWriteTooSmall confirms that errors will be generated when the SequencedSocketData provider is set up with too large write expectations. The test was previously disabled because it used EXPECT_NONFATAL_FAILURE to do the confirmation. EXPECT_NONFATAL_FAILURE can only handle one failure, and this error case generates three. There is not a comparable macro for multiple failures in the gtest framework, but tests can directly access the failures using the TestPartResultArray data structure and the ScopedFakeTestPartResultReporter to capture the failures. BUG=488072 Committed: https://crrev.com/2115662212f026c1710870dcc53906bea9e38814 Cr-Commit-Position: refs/heads/master@{#332420}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -3 lines) Patch
M net/socket/sequenced_socket_data_unittest.cc View 1 chunk +34 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
cbentzel
Hey Ryan - tell me what you think of this approach. I considered writing a ...
5 years, 6 months ago (2015-06-01 19:52:12 UTC) #2
Ryan Hamilton
LGTM On 2015/06/01 19:52:12, cbentzel wrote: > Hey Ryan - tell me what you think ...
5 years, 6 months ago (2015-06-02 15:56:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158573004/1
5 years, 6 months ago (2015-06-02 17:19:47 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 6 months ago (2015-06-02 17:28:09 UTC) #6
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 17:29:02 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2115662212f026c1710870dcc53906bea9e38814
Cr-Commit-Position: refs/heads/master@{#332420}

Powered by Google App Engine
This is Rietveld 408576698