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

Unified Diff: chromeos/dbus/shill_device_client_unittest.cc

Issue 11361211: chromeos: Remove unused CrosAddIPConfig/CrosRemoveIPConfig functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « chromeos/dbus/shill_device_client.cc ('k') | chromeos/dbus/shill_ipconfig_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_device_client_unittest.cc
diff --git a/chromeos/dbus/shill_device_client_unittest.cc b/chromeos/dbus/shill_device_client_unittest.cc
index 1bd5c5296c4f85b4ccd131b7df89463294b1885b..2a40a1fb353de0b96ee7fd0b86f426a95ae17588 100644
--- a/chromeos/dbus/shill_device_client_unittest.cc
+++ b/chromeos/dbus/shill_device_client_unittest.cc
@@ -246,23 +246,6 @@ TEST_F(ShillDeviceClientTest, AddIPConfig) {
message_loop_.RunUntilIdle();
}
-TEST_F(ShillDeviceClientTest, CallAddIPConfigAndBlock) {
- const dbus::ObjectPath expected_result("/result/path");
- // Create response.
- scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
- dbus::MessageWriter writer(response.get());
- writer.AppendObjectPath(expected_result);
-
- // Set expectations.
- PrepareForMethodCall(flimflam::kAddIPConfigFunction,
- base::Bind(&ExpectStringArgument, flimflam::kTypeDHCP),
- response.get());
- // Call method.
- const dbus::ObjectPath result = client_->CallAddIPConfigAndBlock(
- dbus::ObjectPath(kExampleDevicePath), flimflam::kTypeDHCP);
- EXPECT_EQ(expected_result, result);
-}
-
TEST_F(ShillDeviceClientTest, RequirePin) {
const char kPin[] = "123456";
const bool kRequired = true;
« no previous file with comments | « chromeos/dbus/shill_device_client.cc ('k') | chromeos/dbus/shill_ipconfig_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698