OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/dbus/shill_client_unittest_base.h" | 5 #include "chromeos/dbus/shill_client_unittest_base.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chromeos/network/shill_property_util.h" | 10 #include "chromeos/network/shill_property_util.h" |
11 #include "dbus/message.h" | 11 #include "dbus/message.h" |
12 #include "dbus/object_path.h" | 12 #include "dbus/object_path.h" |
13 #include "dbus/values_util.h" | 13 #include "dbus/values_util.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 16 |
18 using ::testing::_; | 17 using ::testing::_; |
19 using ::testing::Invoke; | 18 using ::testing::Invoke; |
20 using ::testing::Return; | 19 using ::testing::Return; |
21 | 20 |
22 namespace chromeos { | 21 namespace chromeos { |
23 | 22 |
24 namespace { | 23 namespace { |
25 | 24 |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 | 464 |
466 void ShillClientUnittestBase::OnCallMethodWithErrorCallback( | 465 void ShillClientUnittestBase::OnCallMethodWithErrorCallback( |
467 dbus::MethodCall* method_call, | 466 dbus::MethodCall* method_call, |
468 int timeout_ms, | 467 int timeout_ms, |
469 const dbus::ObjectProxy::ResponseCallback& response_callback, | 468 const dbus::ObjectProxy::ResponseCallback& response_callback, |
470 const dbus::ObjectProxy::ErrorCallback& error_callback) { | 469 const dbus::ObjectProxy::ErrorCallback& error_callback) { |
471 OnCallMethod(method_call, timeout_ms, response_callback); | 470 OnCallMethod(method_call, timeout_ms, response_callback); |
472 } | 471 } |
473 | 472 |
474 } // namespace chromeos | 473 } // namespace chromeos |
OLD | NEW |