Thieu Le | 3426c8f | 2012-01-11 17:35:11 -0800 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "shill/mock_manager.h" |
| 6 | |
Paul Stewart | 6ff27f5 | 2012-07-11 06:51:41 -0700 | [diff] [blame] | 7 | #include <gmock/gmock.h> |
| 8 | |
| 9 | using testing::Return; |
| 10 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 11 | namespace shill { |
| 12 | |
| 13 | MockManager::MockManager(ControlInterface *control_interface, |
| 14 | EventDispatcher *dispatcher, |
Thieu Le | 3426c8f | 2012-01-11 17:35:11 -0800 | [diff] [blame] | 15 | Metrics *metrics, |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 16 | GLib *glib) |
Paul Stewart | 6ff27f5 | 2012-07-11 06:51:41 -0700 | [diff] [blame] | 17 | : Manager(control_interface, dispatcher, metrics, glib, "", "", "") { |
| 18 | EXPECT_CALL(*this, device_info()) |
| 19 | .WillRepeatedly(Return(reinterpret_cast<DeviceInfo *>(NULL))); |
| 20 | } |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 21 | |
| 22 | MockManager::~MockManager() {} |
| 23 | |
| 24 | } // namespace shill |