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

Unified Diff: chromeos/cryptohome/system_salt_getter_unittest.cc

Issue 49773003: ChromeOS: Remove MockDBusThreadManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed helper files. Created 7 years, 1 month 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
Index: chromeos/cryptohome/system_salt_getter_unittest.cc
diff --git a/chromeos/cryptohome/system_salt_getter_unittest.cc b/chromeos/cryptohome/system_salt_getter_unittest.cc
index 07883a03f8e5965e368a5881958a9e5718c6263c..f1b52306a7c5841c876b82848e8830c1ee995c7c 100644
--- a/chromeos/cryptohome/system_salt_getter_unittest.cc
+++ b/chromeos/cryptohome/system_salt_getter_unittest.cc
@@ -26,7 +26,9 @@ class SystemSaltGetterTest : public testing::Test {
virtual void SetUp() OVERRIDE {
FakeDBusThreadManager* dbus_thread_manager = new FakeDBusThreadManager;
- fake_cryptohome_client_ = dbus_thread_manager->fake_cryptohome_client();
+ fake_cryptohome_client_ = new FakeCryptohomeClient;
+ dbus_thread_manager->SetCryptohomeClient(
+ scoped_ptr<CryptohomeClient>(fake_cryptohome_client_));
DBusThreadManager::InitializeForTesting(dbus_thread_manager);
EXPECT_FALSE(SystemSaltGetter::IsInitialized());
« chromeos/chromeos.gyp ('K') | « chromeos/chromeos.gyp ('k') | chromeos/dbus/dbus_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698