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

Issue 2389393006: Add test cases to BindTest for OnceCallback (Closed)

Created:
4 years, 2 months ago by tzik
Modified:
4 years, 2 months ago
Reviewers:
Yuta Kitamura, dcheng
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add test cases to BindTest for OnceCallback BindTest didn't have enough test cases for OnceCallback. This CL replaces unannotated Callbacks with RepeatingCallback, and adds equivalent tests for OnceCallback if needed. Also, this CL moves some test cases to a typed test, BindVariantsTest, for smaller dups. Committed: https://crrev.com/b9499fd94a664e91aac5b87874f8f618a0dca393 Cr-Commit-Position: refs/heads/master@{#424670}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 5

Patch Set 3 : typo fix #

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

Messages

Total messages: 21 (14 generated)
tzik
PTAL
4 years, 2 months ago (2016-10-07 06:33:39 UTC) #7
Yuta Kitamura
LGTM, I'd like dcheng to proofread, too, though. https://codereview.chromium.org/2389393006/diff/20001/base/bind_unittest.cc File base/bind_unittest.cc (right): https://codereview.chromium.org/2389393006/diff/20001/base/bind_unittest.cc#newcode412 base/bind_unittest.cc:412: // ...
4 years, 2 months ago (2016-10-07 08:36:57 UTC) #8
tzik
https://codereview.chromium.org/2389393006/diff/20001/base/bind_unittest.cc File base/bind_unittest.cc (right): https://codereview.chromium.org/2389393006/diff/20001/base/bind_unittest.cc#newcode412 base/bind_unittest.cc:412: // RepeatingCallback can run via a rvalue-referenc. On 2016/10/07 ...
4 years, 2 months ago (2016-10-11 07:11:32 UTC) #11
dcheng
LGTM (Sorry for the delay, forgot to publish my comments) https://codereview.chromium.org/2389393006/diff/20001/base/bind_unittest.cc File base/bind_unittest.cc (right): https://codereview.chromium.org/2389393006/diff/20001/base/bind_unittest.cc#newcode540 ...
4 years, 2 months ago (2016-10-11 07:40:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389393006/40001
4 years, 2 months ago (2016-10-12 04:50:24 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-12 04:55:24 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 04:56:54 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b9499fd94a664e91aac5b87874f8f618a0dca393
Cr-Commit-Position: refs/heads/master@{#424670}

Powered by Google App Engine
This is Rietveld 408576698