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_eula_screen.h"
9 using ::testing::AtLeast
;
10 using ::testing::NotNull
;
12 MockEulaScreen::MockEulaScreen(ScreenObserver
* screen_observer
,
13 EulaScreenActor
* actor
)
14 : EulaScreen(screen_observer
, actor
) {
17 MockEulaScreen::~MockEulaScreen() {
20 void MockEulaScreenActor::SetDelegate(Delegate
* delegate
) {
22 MockSetDelegate(delegate
);
25 MockEulaScreenActor::MockEulaScreenActor() {
26 EXPECT_CALL(*this, MockSetDelegate(NotNull())).Times(AtLeast(1));
29 MockEulaScreenActor::~MockEulaScreenActor() {
31 delegate_
->OnActorDestroyed(this);
34 } // namespace chromeos