Darin Petkov | 18fb2f7 | 2012-06-14 09:09:34 +0200 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS 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. |
| 4 | |
| 5 | #include "shill/mock_dbus_service_proxy.h" |
| 6 | |
Prathmesh Prabhu | 125aea8 | 2014-09-17 16:11:32 -0700 | [diff] [blame] | 7 | #include "shill/testing.h" |
| 8 | |
| 9 | using testing::_; |
| 10 | |
Darin Petkov | 18fb2f7 | 2012-06-14 09:09:34 +0200 | [diff] [blame] | 11 | namespace shill { |
| 12 | |
Prathmesh Prabhu | 125aea8 | 2014-09-17 16:11:32 -0700 | [diff] [blame] | 13 | MockDBusServiceProxy::MockDBusServiceProxy() { |
| 14 | ON_CALL(*this, GetNameOwner(_, _, _, _)) |
| 15 | .WillByDefault(SetOperationFailedInArgumentAndWarn<1>()); |
| 16 | } |
Darin Petkov | 18fb2f7 | 2012-06-14 09:09:34 +0200 | [diff] [blame] | 17 | |
| 18 | MockDBusServiceProxy::~MockDBusServiceProxy() {} |
| 19 | |
| 20 | } // namespace shill |