diff options
author | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 14:11:15 +0000 |
---|---|---|
committer | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 14:11:15 +0000 |
commit | a602042443a677218217d4be5d973ca3ce0f7d0c (patch) | |
tree | 5bc051de8e51088ffbf431075af0d3ba009d7fbd /chromeos/dbus/shill_manager_client_unittest.cc | |
parent | c3943ad3902892eaab7484cb7fd80ee3aabb24cd (diff) | |
download | chromium_src-a602042443a677218217d4be5d973ca3ce0f7d0c.zip chromium_src-a602042443a677218217d4be5d973ca3ce0f7d0c.tar.gz chromium_src-a602042443a677218217d4be5d973ca3ce0f7d0c.tar.bz2 |
Remove unused NetworkLibrary::GetIPConfigsAndBlock.
This also removes code that was solely used by NetworkLibrary::GetIPConfigsAndBlock.
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/18541004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_manager_client_unittest.cc')
-rw-r--r-- | chromeos/dbus/shill_manager_client_unittest.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/chromeos/dbus/shill_manager_client_unittest.cc b/chromeos/dbus/shill_manager_client_unittest.cc index ad5b6a0..e0d0db1 100644 --- a/chromeos/dbus/shill_manager_client_unittest.cc +++ b/chromeos/dbus/shill_manager_client_unittest.cc @@ -211,33 +211,6 @@ TEST_F(ShillManagerClientTest, GetProperties) { message_loop_.RunUntilIdle(); } -TEST_F(ShillManagerClientTest, CallGetPropertiesAndBlock) { - // Create response. - scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty()); - dbus::MessageWriter writer(response.get()); - dbus::MessageWriter array_writer(NULL); - writer.OpenArray("{sv}", &array_writer); - dbus::MessageWriter entry_writer(NULL); - array_writer.OpenDictEntry(&entry_writer); - entry_writer.AppendString(flimflam::kOfflineModeProperty); - entry_writer.AppendVariantOfBool(true); - array_writer.CloseContainer(&entry_writer); - writer.CloseContainer(&array_writer); - - // Create the expected value. - base::DictionaryValue value; - value.SetWithoutPathExpansion(flimflam::kOfflineModeProperty, - base::Value::CreateBooleanValue(true)); - // Set expectations. - PrepareForMethodCall(flimflam::kGetPropertiesFunction, - base::Bind(&ExpectNoArgument), - response.get()); - // Call method. - scoped_ptr<base::DictionaryValue> result( - client_->CallGetPropertiesAndBlock()); - EXPECT_TRUE(value.Equals(result.get())); -} - TEST_F(ShillManagerClientTest, GetNetworksForGeolocation) { // Create response. scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty()); |