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

Unified Diff: chrome/browser/chromeos/login/update_screen_browsertest.cc

Issue 14092002: Move MockUpdateEngineClient::GetLastStatus() expectation to MockDBusThreadManager's ctor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove .Times(AnyNumber()) Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/update_screen_browsertest.cc
diff --git a/chrome/browser/chromeos/login/update_screen_browsertest.cc b/chrome/browser/chromeos/login/update_screen_browsertest.cc
index b7c7c155eda6e2a104367ee62e9def2d7d4188f5..12d8b6c8356142c4d93a1b09b7d01fbb030ac1e4 100644
--- a/chrome/browser/chromeos/login/update_screen_browsertest.cc
+++ b/chrome/browser/chromeos/login/update_screen_browsertest.cc
@@ -56,12 +56,6 @@ class UpdateScreenTest : public WizardInProcessBrowserTest {
mock_update_engine_client_
= mock_dbus_thread_manager->mock_update_engine_client();
- // ChromeBrowserMainPartsChromeos::PostProfileInit() creates an
- // AutomaticRebootManager which calls the following function.
- EXPECT_CALL(*mock_update_engine_client_, GetLastStatus())
- .Times(1)
- .WillRepeatedly(Return(MockUpdateEngineClient::Status()));
-
// UpdateScreen::StartUpdate() will be called by the WizardController
// just after creating the update screen, so the expectations for that
// should be set up here.

Powered by Google App Engine
This is Rietveld 408576698