Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc

Issue 13890017: dbus:Add FakeImageBurnerClient FakeSystemClockClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager_without_gmock.h ('k') | chromeos/dbus/system_clock_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
diff --git a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
index 1cc24cc6459b9b35c52d94e0d5a502965fcee43f..2a4e530b8efdce61365a2cf9997b657d26dee7b3 100644
--- a/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
+++ b/chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc
@@ -12,7 +12,9 @@
#include "chromeos/dbus/fake_bluetooth_profile_manager_client.h"
#include "chromeos/dbus/fake_cros_disks_client.h"
#include "chromeos/dbus/fake_cryptohome_client.h"
+#include "chromeos/dbus/fake_image_burner_client.h"
#include "chromeos/dbus/fake_shill_manager_client.h"
+#include "chromeos/dbus/fake_system_clock_client.h"
#include "chromeos/dbus/ibus/mock_ibus_client.h"
#include "chromeos/dbus/ibus/mock_ibus_config_client.h"
#include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h"
@@ -31,7 +33,9 @@ MockDBusThreadManagerWithoutGMock::MockDBusThreadManagerWithoutGMock()
new FakeBluetoothProfileManagerClient()),
fake_cros_disks_client_(new FakeCrosDisksClient),
fake_cryptohome_client_(new FakeCryptohomeClient),
+ fake_image_burner_client_(new FakeImageBurnerClient),
fake_shill_manager_client_(new FakeShillManagerClient),
+ fake_system_clock_client_(new FakeSystemClockClient),
mock_ibus_client_(new MockIBusClient),
mock_ibus_config_client_(new MockIBusConfigClient),
mock_ibus_input_context_client_(new MockIBusInputContextClient),
@@ -183,8 +187,7 @@ GsmSMSClient* MockDBusThreadManagerWithoutGMock::GetGsmSMSClient() {
}
ImageBurnerClient* MockDBusThreadManagerWithoutGMock::GetImageBurnerClient() {
- NOTIMPLEMENTED();
- return NULL;
+ return fake_image_burner_client_.get();
}
IntrospectableClient*
@@ -228,8 +231,7 @@ SMSClient* MockDBusThreadManagerWithoutGMock::GetSMSClient() {
}
SystemClockClient* MockDBusThreadManagerWithoutGMock::GetSystemClockClient() {
- NOTIMPLEMENTED();
- return NULL;
+ return fake_system_clock_client_.get();
}
UpdateEngineClient* MockDBusThreadManagerWithoutGMock::GetUpdateEngineClient() {
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager_without_gmock.h ('k') | chromeos/dbus/system_clock_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698