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

Issue 1610053002: Convert base::Callback move-only support tests to be type parameterized. (Closed)

Created:
4 years, 11 months ago by dcheng
Modified:
4 years, 11 months ago
Reviewers:
Nico
CC:
chromium-reviews, danakj, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert base::Callback move-only support tests to be type parameterized. - Deduplicates copy and pasted test logic for scoped_ptr and std::unique_ptr. - Adds test coverage of std::unique_ptr with a custom deleter. BUG=561749 Committed: https://crrev.com/f10b7732d68db797aa14195149882b2f928f3b54 Cr-Commit-Position: refs/heads/master@{#370750}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -55 lines) Patch
M base/bind_unittest.cc View 1 2 chunks +35 lines, -55 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
dcheng
4 years, 11 months ago (2016-01-20 06:17:38 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1610053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1610053002/1
4 years, 11 months ago (2016-01-20 06:18:51 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 06:41:03 UTC) #6
Nico
lgtm (personally i don't like TYPED_TEST_CASE and would just have added another test case for ...
4 years, 11 months ago (2016-01-21 17:29:14 UTC) #7
dcheng
https://codereview.chromium.org/1610053002/diff/1/base/bind_unittest.cc File base/bind_unittest.cc (right): https://codereview.chromium.org/1610053002/diff/1/base/bind_unittest.cc#newcode724 base/bind_unittest.cc:724: using DeleteCounterPtr = T; On 2016/01/21 at 17:29:14, Nico ...
4 years, 11 months ago (2016-01-21 19:15:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1610053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1610053002/20001
4 years, 11 months ago (2016-01-21 19:16:35 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-21 19:38:03 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 19:39:51 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f10b7732d68db797aa14195149882b2f928f3b54
Cr-Commit-Position: refs/heads/master@{#370750}

Powered by Google App Engine
This is Rietveld 408576698