1 // Copyright (c) 2012 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_network_screen.h"
9 using ::testing::AtLeast
;
10 using ::testing::NotNull
;
12 MockNetworkScreen::MockNetworkScreen(ScreenObserver
* observer
,
13 NetworkScreenActor
* actor
)
14 : NetworkScreen(observer
, actor
) {
17 MockNetworkScreen::~MockNetworkScreen() {
21 MockNetworkScreenActor::MockNetworkScreenActor() {
22 EXPECT_CALL(*this, MockSetDelegate(NotNull())).Times(AtLeast(1));
25 MockNetworkScreenActor::~MockNetworkScreenActor() {
27 delegate_
->OnActorDestroyed(this);
30 void MockNetworkScreenActor::SetDelegate(Delegate
* delegate
) {
32 MockSetDelegate(delegate
);
35 } // namespace chromeos