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

Unified Diff: chromeos/dbus/shill_manager_client_unittest.cc

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_manager_client_unittest.cc
diff --git a/chromeos/dbus/shill_manager_client_unittest.cc b/chromeos/dbus/shill_manager_client_unittest.cc
index 7559b7b11e8fb42ca0eec27da2d24e2b4578b20c..06052fdf4299f7769255479ff0f76f27ecbf5dee 100644
--- a/chromeos/dbus/shill_manager_client_unittest.cc
+++ b/chromeos/dbus/shill_manager_client_unittest.cc
@@ -120,7 +120,7 @@ TEST_F(ShillManagerClientTest, GetProperties) {
// Create the expected value.
base::DictionaryValue value;
value.SetWithoutPathExpansion(shill::kOfflineModeProperty,
- base::Value::CreateBooleanValue(true));
+ new base::FundamentalValue(true));
// Set expectations.
PrepareForMethodCall(shill::kGetPropertiesFunction,
base::Bind(&ExpectNoArgument),

Powered by Google App Engine
This is Rietveld 408576698