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

Issue 2345593002: chromeos: Add suspend delay tests for PowerManagerClient. (Closed)

Created:
4 years, 3 months ago by Daniel Erat
Modified:
4 years, 3 months ago
Reviewers:
Chirantan Ekbote
CC:
chromium-reviews, hashimoto+watch_chromium.org, oshima+watch_chromium.org, Eric Caruso
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Add suspend delay tests for PowerManagerClient. Add initial unit tests for chromeos::PowerManagerClient's suspend-delay-handling code. More coming soon. BUG=646912 Committed: https://crrev.com/751cb04fca2fb7861de5ad396d2b08f18471fa9a Cr-Commit-Position: refs/heads/master@{#418716}

Patch Set 1 #

Patch Set 2 : remove unneeded ShutdownAndBlock call #

Total comments: 4

Patch Set 3 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -0 lines) Patch
M chromeos/chromeos.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/power_manager_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
A chromeos/dbus/power_manager_client_unittest.cc View 1 2 1 chunk +375 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Daniel Erat
4 years, 3 months ago (2016-09-14 22:16:26 UTC) #2
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/2345593002/20001
4 years, 3 months ago (2016-09-14 22:24:39 UTC) #7
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 3 months ago (2016-09-14 22:24:41 UTC) #9
Chirantan Ekbote
lgtm https://codereview.chromium.org/2345593002/diff/20001/chromeos/dbus/power_manager_client_unittest.cc File chromeos/dbus/power_manager_client_unittest.cc (right): https://codereview.chromium.org/2345593002/diff/20001/chromeos/dbus/power_manager_client_unittest.cc#newcode133 chromeos/dbus/power_manager_client_unittest.cc:133: TestDelegate(PowerManagerClient* client) : weak_ptr_factory_(this) { explicit? https://codereview.chromium.org/2345593002/diff/20001/chromeos/dbus/power_manager_client_unittest.cc#newcode218 chromeos/dbus/power_manager_client_unittest.cc:218: ...
4 years, 3 months ago (2016-09-14 22:31:30 UTC) #13
Daniel Erat
thanks for the quick review! https://codereview.chromium.org/2345593002/diff/20001/chromeos/dbus/power_manager_client_unittest.cc File chromeos/dbus/power_manager_client_unittest.cc (right): https://codereview.chromium.org/2345593002/diff/20001/chromeos/dbus/power_manager_client_unittest.cc#newcode133 chromeos/dbus/power_manager_client_unittest.cc:133: TestDelegate(PowerManagerClient* client) : weak_ptr_factory_(this) ...
4 years, 3 months ago (2016-09-14 22:42:13 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/2345593002/40001
4 years, 3 months ago (2016-09-14 22:42:57 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-14 23:57:55 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 00:00:03 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/751cb04fca2fb7861de5ad396d2b08f18471fa9a
Cr-Commit-Position: refs/heads/master@{#418716}

Powered by Google App Engine
This is Rietveld 408576698