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

Issue 14589017: Use MockDBusThreadManagerWithoutGMock for GetUpdateStatusApiTest (Closed)

Created:
7 years, 7 months ago by Haruki Sato
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, stevenjb+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Use MockDBusThreadManagerWithoutGMock for GetUpdateStatusApiTest Adding a queue to emulate the changing status in FakeUpdateEngineClient. BUG=239333 TEST=trybots R=bartfab@chromium.org, hashimoto@chromium.org, kalman@chromium.org, nkostylev@chromium.org, satorux@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200201

Patch Set 1 #

Total comments: 6

Patch Set 2 : rename to default_status_ #

Total comments: 2

Patch Set 3 : rebase, fix comments #

Patch Set 4 : fix another caller unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -28 lines) Patch
M chrome/browser/chromeos/login/screens/update_screen_browsertest.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_private/system_private_apitest.cc View 4 chunks +13 lines, -16 lines 0 comments Download
M chromeos/dbus/fake_update_engine_client.h View 1 2 3 chunks +13 lines, -3 lines 0 comments Download
M chromeos/dbus/fake_update_engine_client.cc View 1 1 chunk +9 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Haruki Sato
7 years, 7 months ago (2013-05-14 06:46:48 UTC) #1
bartfab (slow)
You will need a reviewer more familiar with this code. I wrote lines 40-42 of ...
7 years, 7 months ago (2013-05-14 09:35:06 UTC) #2
Haruki Sato
7 years, 7 months ago (2013-05-14 10:26:17 UTC) #3
hashimoto
https://codereview.chromium.org/14589017/diff/1/chrome/browser/extensions/api/system_private/system_private_apitest.cc File chrome/browser/extensions/api/system_private/system_private_apitest.cc (left): https://codereview.chromium.org/14589017/diff/1/chrome/browser/extensions/api/system_private/system_private_apitest.cc#oldcode41 chrome/browser/extensions/api/system_private/system_private_apitest.cc:41: .Times(1) On 2013/05/14 09:35:06, bartfab wrote: > This used ...
7 years, 7 months ago (2013-05-14 10:37:21 UTC) #4
bartfab (slow)
https://codereview.chromium.org/14589017/diff/1/chrome/browser/extensions/api/system_private/system_private_apitest.cc File chrome/browser/extensions/api/system_private/system_private_apitest.cc (left): https://codereview.chromium.org/14589017/diff/1/chrome/browser/extensions/api/system_private/system_private_apitest.cc#oldcode41 chrome/browser/extensions/api/system_private/system_private_apitest.cc:41: .Times(1) On 2013/05/14 10:37:21, hashimoto wrote: > On 2013/05/14 ...
7 years, 7 months ago (2013-05-14 10:53:14 UTC) #5
Haruki Sato
Nikita, could you take a look at the changes in UpdateScreenTest? Thanks. https://codereview.chromium.org/14589017/diff/1/chrome/browser/extensions/api/system_private/system_private_apitest.cc File chrome/browser/extensions/api/system_private/system_private_apitest.cc ...
7 years, 7 months ago (2013-05-14 13:20:14 UTC) #6
Nikita (slow)
lgtm
7 years, 7 months ago (2013-05-14 13:25:04 UTC) #7
hashimoto
lgtm https://codereview.chromium.org/14589017/diff/7001/chromeos/dbus/fake_update_engine_client.h File chromeos/dbus/fake_update_engine_client.h (right): https://codereview.chromium.org/14589017/diff/7001/chromeos/dbus/fake_update_engine_client.h#newcode35 chromeos/dbus/fake_update_engine_client.h:35: // Push UpdateEngineClient::Status in the queue to test ...
7 years, 7 months ago (2013-05-14 14:47:54 UTC) #8
Haruki Sato
Thanks reviewers. Satoru, could you OWNER-review chromsos/dbus ? Benjamin, could you OWNER-review chrome/browser/extensions/ ? Thanks! ...
7 years, 7 months ago (2013-05-15 02:01:08 UTC) #9
not at google - send to devlin
lgtm
7 years, 7 months ago (2013-05-15 02:22:14 UTC) #10
satorux1
LGTM
7 years, 7 months ago (2013-05-15 04:33:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/14589017/14001
7 years, 7 months ago (2013-05-15 04:35:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/14589017/27001
7 years, 7 months ago (2013-05-15 05:48:53 UTC) #13
Haruki Sato
7 years, 7 months ago (2013-05-15 08:42:19 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 manually as r200201 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698