1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/login/screens/mock_update_screen.h"
7 using ::testing::AtLeast
;
12 MockUpdateScreen::MockUpdateScreen(BaseScreenDelegate
* base_screen_delegate
,
14 : UpdateScreen(base_screen_delegate
, view
, NULL
) {
17 MockUpdateScreen::~MockUpdateScreen() {
20 MockUpdateView::MockUpdateView() : model_(nullptr) {
21 EXPECT_CALL(*this, MockBind(_
)).Times(AtLeast(1));
24 MockUpdateView::~MockUpdateView() {
26 model_
->OnViewDestroyed(this);
29 void MockUpdateView::Bind(UpdateModel
& model
) {
34 void MockUpdateView::Unbind() {
39 } // namespace chromeos