| 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/values.h" |
| 6 #include "chromeos/dbus/flimflam_client_unittest_base.h" | 7 #include "chromeos/dbus/flimflam_client_unittest_base.h" |
| 7 #include "chromeos/dbus/flimflam_network_client.h" | 8 #include "chromeos/dbus/flimflam_network_client.h" |
| 8 #include "dbus/message.h" | 9 #include "dbus/message.h" |
| 9 #include "dbus/values_util.h" | 10 #include "dbus/values_util.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "third_party/cros_system_api/dbus/service_constants.h" | 12 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 | 15 |
| 15 class FlimflamNetworkClientTest : public FlimflamClientUnittestBase { | 16 class FlimflamNetworkClientTest : public FlimflamClientUnittestBase { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 base::Bind(&ExpectNoArgument), | 116 base::Bind(&ExpectNoArgument), |
| 116 response.get()); | 117 response.get()); |
| 117 // Call method. | 118 // Call method. |
| 118 client_->GetProperties(base::Bind(&ExpectDictionaryValueResult, | 119 client_->GetProperties(base::Bind(&ExpectDictionaryValueResult, |
| 119 &value)); | 120 &value)); |
| 120 // Run the message loop. | 121 // Run the message loop. |
| 121 message_loop_.RunAllPending(); | 122 message_loop_.RunAllPending(); |
| 122 } | 123 } |
| 123 | 124 |
| 124 } // namespace chromeos | 125 } // namespace chromeos |
| OLD | NEW |