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

Issue 14092002: Move MockUpdateEngineClient::GetLastStatus() expectation to MockDBusThreadManager's ctor (Closed)

Created:
7 years, 8 months ago by Yufeng Shen (Slow to review)
Modified:
7 years, 8 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Move MockUpdateEngineClient::GetLastStatus() expectation to MockDBusThreadManager's ctor This removes the code dup in those CrOS browsertests which are using MockDBusThreadManager. BUG=None. TEST=browsertests pass, unittests pass. TBR=mnissler Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193566

Patch Set 1 #

Patch Set 2 : fixed typo in commit msg #

Total comments: 2

Patch Set 3 : remove .Times(AnyNumber()) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -32 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/network_screen_browsertest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker_browsertest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/update_screen_browsertest.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_browsertest.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/policy/power_policy_browsertest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yufeng Shen (Slow to review)
7 years, 8 months ago (2013-04-10 19:55:56 UTC) #1
Daniel Erat
lgtm Thanks! https://codereview.chromium.org/14092002/diff/3001/chromeos/dbus/mock_dbus_thread_manager.cc File chromeos/dbus/mock_dbus_thread_manager.cc (right): https://codereview.chromium.org/14092002/diff/3001/chromeos/dbus/mock_dbus_thread_manager.cc#newcode281 chromeos/dbus/mock_dbus_thread_manager.cc:281: .Times(AnyNumber()) nit: is this .Times(AnyNumber()) necessary? i ...
7 years, 8 months ago (2013-04-10 20:06:00 UTC) #2
Daniel Erat
Oh, and you don't need to re-upload your patch to change the commit message in ...
7 years, 8 months ago (2013-04-10 20:07:34 UTC) #3
Yufeng Shen (Slow to review)
cc sky@ for OWNERS https://codereview.chromium.org/14092002/diff/3001/chromeos/dbus/mock_dbus_thread_manager.cc File chromeos/dbus/mock_dbus_thread_manager.cc (right): https://codereview.chromium.org/14092002/diff/3001/chromeos/dbus/mock_dbus_thread_manager.cc#newcode281 chromeos/dbus/mock_dbus_thread_manager.cc:281: .Times(AnyNumber()) On 2013/04/10 20:06:00, Daniel ...
7 years, 8 months ago (2013-04-10 20:29:21 UTC) #4
sky
What do you need me to review?
7 years, 8 months ago (2013-04-10 21:21:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/14092002/5001
7 years, 8 months ago (2013-04-10 21:45:33 UTC) #6
commit-bot: I haz the power
Presubmit check for 14092002-5001 failed and returned exit status 1. INFO:root:Found 8 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-10 21:45:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/14092002/5001
7 years, 8 months ago (2013-04-10 21:47:21 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=133516
7 years, 8 months ago (2013-04-11 02:30:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/14092002/5001
7 years, 8 months ago (2013-04-11 03:13:57 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-11 04:17:04 UTC) #11
Message was sent while issue was closed.
Change committed as 193566

Powered by Google App Engine
This is Rietveld 408576698