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_enable_debugging_screen.h"
7 using ::testing::AtLeast
;
8 using ::testing::NotNull
;
12 MockEnableDebuggingScreen::MockEnableDebuggingScreen(
13 BaseScreenDelegate
* base_screen_delegate
,
14 EnableDebuggingScreenActor
* actor
)
15 : EnableDebuggingScreen(base_screen_delegate
, actor
) {
18 MockEnableDebuggingScreen::~MockEnableDebuggingScreen() {
21 MockEnableDebuggingScreenActor::MockEnableDebuggingScreenActor() {
22 EXPECT_CALL(*this, MockSetDelegate(NotNull())).Times(AtLeast(1));
25 MockEnableDebuggingScreenActor::~MockEnableDebuggingScreenActor() {
27 delegate_
->OnActorDestroyed(this);
30 void MockEnableDebuggingScreenActor::SetDelegate(
31 EnableDebuggingScreenActor::Delegate
* delegate
) {
33 MockSetDelegate(delegate
);
36 } // namespace chromeos