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

Unified Diff: chromeos/dbus/shill_profile_client_unittest.cc

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 5 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
Index: chromeos/dbus/shill_profile_client_unittest.cc
diff --git a/chromeos/dbus/shill_profile_client_unittest.cc b/chromeos/dbus/shill_profile_client_unittest.cc
index c015bfa52a881d0b71a286d1bcc665f87feff7d1..223cd730c763d4ab623c8952e07ccd4996584418 100644
--- a/chromeos/dbus/shill_profile_client_unittest.cc
+++ b/chromeos/dbus/shill_profile_client_unittest.cc
@@ -167,7 +167,7 @@ TEST_F(ShillProfileClientTest, DeleteEntry) {
// Create the expected value.
base::DictionaryValue value;
value.SetWithoutPathExpansion(shill::kOfflineModeProperty,
- base::Value::CreateBooleanValue(true));
+ new base::FundamentalValue(true));
// Set expectations.
PrepareForMethodCall(shill::kDeleteEntryFunction,
base::Bind(&ExpectStringArgument, kExampleEntryPath),

Powered by Google App Engine
This is Rietveld 408576698